/* Base Styles */
:root {
    /* Color Variables - Black Focused with Gray Accents */
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #666;
    --accent-light: #888;
    --text-color: #e5e5e5;
    --light-text: #999;
    --dark-text: #fff;
    --bg-color: #111;
    --dark-bg: #000;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --overlay-bg: rgba(0, 0, 0, 0.8);
    
    /* Spacing Variables */
    --section-padding: 25px 0;
    --container-padding: 0 15px;
    
    /* Font Variables */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    
    /* Transition Variables */
    --transition: all 0.3s ease;
}


* {
    margin: 0;                      /* Reset all margins to zero */
    padding: 0;                     /* Reset all padding to zero */
    box-sizing: border-box;         /* Include padding/border in element width/height */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for sticky header height */
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: black;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scroll offset for sticky header navigation */
section[id] {
    scroll-margin-top: 80px;
}


.container {
    max-width: 1200px;              /* Maximum content width for readability */
    margin: 0 auto;                 /* Center horizontally */
    padding: var(--container-padding); /* Consistent horizontal spacing */
}

.section-padding {
    padding: var(--section-padding); /* Standard vertical section spacing */
}


.btn {
    display: inline-block;          /* Inline but with block-level properties */
    padding: 12px 30px;             /* Comfortable padding for touch targets */
    border-radius: 3px;             /* Subtle rounded corners */
    font-weight: 500;               /* Medium weight for emphasis */
    transition: var(--transition);  /* Smooth hover animations */
    cursor: pointer;                /* Indicates interactivity */
    border: none;                   /* Remove default browser styling */
    font-family: var(--body-font);  /* Consistent typography */
}


.btn-primary {
    background-color: var(--accent-color); /* Gray background */
    color: var(--secondary-color);         /* White text for contrast */
    border: 1px solid var(--accent-color); /* Solid border definition */
}


.btn-primary:hover {
    background-color: transparent;  /* Transparent background on hover */
    color: var(--accent-color);     /* Gray text matches original background */
    border-color: var(--accent-color); /* Maintains gray border */
}


.btn-secondary {
    background-color: var(--accent-color); /* Gray background */
    color: var(--secondary-color);         /* White text */
    border: 2px solid var(--accent-color); /* Thicker border for emphasis */
}


.btn-secondary:hover {
    background-color: var(--accent-light); /* Lighter gray background */
    color: var(--secondary-color);         /* Maintains white text */
    border-color: var(--accent-light);     /* Matching lighter border */
}


.section-header {
    text-align: center;             /* Center align section headers */
    margin-bottom: 30px;            /* Generous spacing before section content */
}


.section-header h2 {
    font-size: 36px;                /* Large size for prominence */
    position: relative;             /* Enables absolute positioned pseudo-elements */
    margin-bottom: 20px;            /* Spacing below title */
    color: var(--secondary-color);  /* White for maximum contrast */
}


.section-header h2:after {
    content: '';                    /* Required for pseudo-element */
    position: absolute;             /* Positioned relative to h2 */
    left: 50%;                      /* Start at horizontal center */
    bottom: -10px;                  /* Positioned below text */
    width: 70px;                    /* Fixed width decorative line */
    height: 2px;                    /* Thin line height */
    background-color: var(--accent-color); /* Gray accent color */
    transform: translateX(-50%);    /* Center the line perfectly */
}


.section-header p {
    color: var(--light-text);       /* Muted gray for secondary information */
}


.navbar {
    position: sticky;               /* Stays at top during scroll */
    top: 0;                         /* Sticks to top of viewport */
    left: 0;                        /* Full width alignment */
    width: 100%;                    /* Full viewport width */
    z-index: 100;                   /* Above all other content */
    background-color: transparent;  /* Initially transparent */
    padding: 20px 0;                /* Vertical padding for spacing */
    transition: var(--transition);  /* Smooth background transitions */
}


.navbar.sticky {
    background-color: var(--dark-bg); /* Solid black background */
    padding: 10px 0;                  /* Reduced padding when sticky */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); /* Depth shadow */
    border-bottom: 1px solid var(--border-color); /* Bottom border definition */
}


.navbar-container {
    display: flex;                  /* Flexbox for horizontal layout */
    justify-content: space-between; /* Logo left, menu right */
    align-items: center;            /* Vertical center alignment */
    max-width: 100%;                /* Full width usage */
    margin: 0 auto;                 /* Center container */
    padding: 0 15px;                /* Horizontal padding for mobile */
}


.logo {
    font-family: var(--heading-font); /* Playfair Display for elegance */
    font-size: 24px;                  /* Large size for brand prominence */
    color: var(--secondary-color);    /* White for maximum visibility */
    font-weight: 600;                 /* Bold weight for brand emphasis */
}


.nav-menu {
    display: flex;                  /* Horizontal menu layout */
}


.nav-link {
    color: var(--secondary-color);  /* White text for visibility */
    margin: 0 15px;                 /* Horizontal spacing between links */
    padding: 5px 0;                 /* Vertical padding for touch targets */
    position: relative;             /* Enables pseudo-element positioning */
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.menu-toggle {
    
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
    transform-origin: center;
}

/* Hero Section with Max's Photo */
.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 10%;
    width: 50%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    
    padding: 0 40px;
    margin-left: 0;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--text-color);
}

/* Typing Animation Styles */
.typing-cursor {
    color: var(--secondary-color);
    animation: blink 1.2s infinite;
    font-weight: normal;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Portfolio Showcase Section */
.portfolio-showcase {
    background-color: var(--bg-color);
}

.category-carousel {
    margin-bottom: 30px;
}

.category-carousel h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
}

.carousel-btn:hover {
    background-color: var(--accent-color);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 4;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background-color: var(--accent-color);
}

.category-cta {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.category-cta p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 16px;
}

/* Desktop-specific hero adjustments for larger screens */
@media (min-width: 1025px) {
    .hero {
      justify-content: initial;
    }
    
    .hero-content {
        margin-left: 22%;
        max-width: 450px;
    }
    
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 100px 0 50px;
    }
    
    .hero-bg {
        width: 100%;
        right: 0%;
        background-position: center;
        background-size: cover;
        height: 100%;
    }
    
    .hero::before {
        width: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        position: relative;
        z-index: 2;
        
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .carousel-dots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 4;
        padding: 8px 12px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 20px;
    }
    
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-track {
    height: 290px;
    }

}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 0 60px;
        justify-content: center;
    }
    
    .hero-bg {
        background-size: cover;
        right: 0%;
    }
    
    .hero-content {
        margin-left: 3%;
        max-width: 480px;
    }
    
    .hero::before {
        width: 55%;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .carousel-btn.prev {
        left: 8px;
    }
    
    .carousel-btn.next {
        right: 8px;
    }
    
    .carousel-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 6px;
        z-index: 4;
        padding: 6px 10px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 16px;
    }
    
    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.service-card.specialty {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: var(--secondary-color);
    border: 1px solid var(--accent-light);
}

.service-card.specialty .service-icon {
    background-color: var(--accent-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.service-card.specialty .service-features li {
    border-bottom-color: var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    background-color: var(--dark-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.about-details {
    display: flex;
    justify-content: space-evenly;
    margin-top: 30px;
}

.detail-item {
    text-align: center;
}

.detail-item h4 {
    font-size: 32px;
    color: var(--accent-light);
    margin-bottom: 5px;
}

.detail-item p {
    color: var(--light-text);
    font-size: 14px;
}

/* Studio Info Section */
.studio-info {
    background-color: var(--bg-color);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.fee-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--light-text);
    font-size: 14px;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-color);
}

.payment-section {
    margin: 30px 0;
}

.payment-section h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.payment-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.payment-btn.venmo {
    background-color: #3d95ce;
    color: white;
}

.payment-btn.cashapp {
    background-color: #00d632;
    color: white;
}

.payment-btn.paypal {
    background-color: #0070ba;
    color: white;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.tips-note {
    font-size: 14px;
    color: var(--light-text);
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

/* Form Security Badge */
.form-security {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(102, 102, 102, 0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.security-badge i {
    font-size: 20px;
    color: #4CAF50;
}

.security-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.security-title {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

.security-desc {
    font-size: 12px;
    color: var(--light-text);
}

/* Form Message Display */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Submit Button Loading State */
.submit-loading {
    display: none;
}

#submitBtn:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

#submitBtn:disabled:hover {
    background-color: #666;
    transform: none;
}

/* Form Privacy Note */
.form-privacy-note {
    margin-top: 20px;
    padding: 12px;
    background-color: rgba(102, 102, 102, 0.05);
    border-radius: 6px;
    text-align: center;
}

.form-privacy-note p {
    font-size: 12px;
    color: var(--light-text);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-privacy-note i {
    color: #4CAF50;
    font-size: 14px;
}

.form-privacy-note .privacy-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-privacy-note .privacy-link:hover {
    color: var(--accent-light);
}

/* Mobile responsive for security elements */
@media (max-width: 768px) {
    .security-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .form-privacy-note p {
        flex-direction: column;
        gap: 5px;
        line-height: 1.4;
    }
}

/* Newsletter Section */
.newsletter {
    background-color: var(--bg-color);
    color: var(--secondary-color);
    text-align: center;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.8;
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h4, .footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: var(--accent-light);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-2px);
    background-color: var(--accent-light);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-separator {
    color: var(--border-color);
    font-size: 12px;
}

.privacy-link {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 14px;
}

.privacy-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Mobile responsive for footer legal */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    font-size: 20px;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    background-color: var(--accent-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-newsletter-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.modal-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.privacy-note {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        padding: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        display: flex;
    }

    .nav-menu li:nth-child(odd) {
        background-color: rgba(26, 26, 26, 0.8);
    }

    .nav-menu li:nth-child(even) {
        background-color: rgba(51, 51, 51, 0.6);
    }

    .nav-link {
        margin: 0;
        padding: 20px 0;
        font-size: 20px;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-link:hover {
        background-color: rgba(102, 102, 102, 0.3);
        color: var(--secondary-color);
    }

    .nav-link:after {
        display: none;
    }

    /* Services grid: 2 cards per row at tablet size */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Studio grid: 2 cards per row at tablet size */
    .studio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Services grid: 1 card per row at mobile size */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Studio grid: 1 card per row at mobile size */
    .studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .payment-buttons {
        justify-content: center;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }


    .about-details {
       gap: 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-newsletter-form {
        flex-direction: column;
    }
}

/* Animation Classes */
.rotate-45 {
    transform: translateY(7px) rotate(45deg);
}

.opacity-0 {
    opacity: 0;
}

.rotate-neg-45 {
    transform: translateY(-7px) rotate(-45deg);
}

.kim-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.kim-section .about-content {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .kim-section .about-content {
        flex-direction: column;
    }
}

/* Portfolio Page Styles */
.portfolio-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/max_hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    margin-top: 80px; /* Increased space for fixed navbar */
}

.portfolio-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.portfolio-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.portfolio-categories {
    background-color: var(--bg-color);
}

.portfolio-category {
    margin-bottom: 80px;
}

.portfolio-category h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    /* Performance optimizations */
    content-visibility: auto;
    contain-intrinsic-size: 400px 300px;
}

/* Loading state for images */
.portfolio-item img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

.portfolio-item img[loading="lazy"]:not([src]) {
    opacity: 0;
}

.portfolio-cta {
   
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Portfolio Navigation Menu */
.portfolio-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.portfolio-menu-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
    color: var(--secondary-color);
}

.portfolio-menu-item i {
    font-size: 24px;
    color: var(--accent-color);
    transition: var(--transition);
}

.portfolio-menu-item:hover i {
    color: var(--accent-light);
    transform: scale(1.1);
}

.portfolio-menu-item span {
    font-size: 16px;
    font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .portfolio-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .portfolio-menu-item {
        padding: 20px 15px;
    }
    
    .portfolio-menu-item i {
        font-size: 20px;
    }
    
    .portfolio-menu-item span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .portfolio-menu {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        margin-top: 80px; /* Adjusted for mobile navbar height */
    }
    
    .portfolio-hero h1 {
        font-size: 36px;
    }
    
    .portfolio-hero p {
        font-size: 18px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .portfolio-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {

    .portfolio-hero {
        margin-top: 90px; /* Extra space for smaller mobile screens */
    }
    
    .portfolio-hero h1 {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Steps Styling */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.step-number {
    background: var(--accent-color);
    color: var(--dark-bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Process CTA Styling */
.process-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.process-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .process-cta h3 {
        font-size: 20px;
    }
}

/* Legal Links Section */
.legal-links {
    background-color: var(--dark-bg);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.legal-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.legal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legal-nav a {
    color: var(--light-text);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;

}
