/* Premium Light & Grey Palette Setup */
:root {
    --bg-color: #f7f7f9;        /* Soft, cool light grey background */
    --card-bg: #ffffff;         /* Pure white for content cards */
    --border: #e2e4e8;          /* Light grey borders */
    --text-primary: #2b2b2b;    /* Charcoal dark grey for elegant reading */
    --text-secondary: #6e7278;  /* Muted grey for supporting text */
    --accent: #1f1f1f;          /* Deepest grey for strong accents/buttons */
    --accent-hover: #4a4a4a;    /* Slightly lighter grey for hover states */
    --radius: 4px;              /* Sharper corners for editorial feel */
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.04); /* Soft luxury shadow */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    min-height: 100vh;
}

h1, h2, h3, .brand-subtitle {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.05em;
    color: var(--accent);
}

/* Layout Containers */
.site-header, .links-section, .feature-card, .site-footer {
    width: 100%;
    max-width: 620px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

/* Header */
.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

#avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

#user-name {
    font-size: 2.4rem;
    font-weight: 500;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    font-weight: 600;
    text-transform: uppercase;
}

#user-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.8rem;
    font-weight: 300;
}

.location-tag {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.2rem;
}

/* Social & Link Buttons */
#social-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#social-links-list a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: var(--bg-color);
}

#social-links-list a:hover {
    border-color: var(--accent);
    color: var(--card-bg);
    background: var(--accent);
}

.btn-highlight {
    background: var(--accent) !important;
    color: var(--card-bg) !important;
    border: 1px solid var(--accent) !important;
}

.btn-highlight:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
}

/* Feature Headings */
.section-heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 0.8rem auto 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    text-align: left;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

/* Carousel */
.carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slide-display { 
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.arrow:hover {
    color: var(--accent);
}

/* Inquiry Form */
.form-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--card-bg);
}

.btn-submit {
    background: var(--accent);
    color: var(--card-bg);
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

/* Footer */
.site-footer h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.4rem 0;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.copyright {
    margin-top: 1.5rem !important;
    font-size: 0.75rem !important;
    opacity: 0.7;
}

/* Social Icons Sizing */
.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

/* Global Image Scaler */
img {
    max-width: 100%;
    height: auto;
}

/* Specific styling for the portfolio images to handle visibility toggle */
.slide-display img {
    display: none; /* Hide all by default */
    max-width: 100%;
    max-height: 450px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
}

/* Added by JavaScript to the visible image */
.slide-display img.active {
    display: block; 
}
