/* ===================================
   BECKY PHOTOGRAPHY - MODERN MINIMALIST
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #1a1a1a;
    --color-secondary: #2d2d2d;
    --color-accent: #c9a86c;
    --color-accent-light: #dfc896;
    --color-accent-dark: #a68a4e;
    --color-white: #ffffff;
    --color-off-white: #f8f8f8;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ===================================
   LOADER
   =================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-camera {
    position: relative;
    width: 60px;
    height: 40px;
    margin: 0 auto 20px;
}

.camera-body {
    width: 60px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 6px;
    position: relative;
}

.camera-lens {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.camera-flash {
    position: absolute;
    top: -8px;
    right: 8px;
    width: 16px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 2px;
    animation: flash 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes flash {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.loader-text {
    color: var(--color-white);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInOut 1.5s infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.header.scrolled .nav {
    padding: 16px 0;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.header.scrolled .logo-text {
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: var(--color-text);
}

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

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

.nav-toggle,
.nav-close {
    display: none;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-text {
    max-width: 600px;
    margin-bottom: 60px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease 0.5s both;
}

.title-line.accent {
    color: var(--color-accent);
    animation-delay: 0.7s;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-gray-300);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    animation: fadeInUp 1s ease 1.3s both;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 40px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gray-400);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--color-off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--color-accent);
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover .image-frame img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.badge-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1.4;
}

.about-text .section-subtitle {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-description {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    background: var(--color-white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    background: transparent;
    border: 1px solid var(--color-gray-300);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    overflow: hidden;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.view-btn,
.gallery-link {
    padding: 10px 24px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    background: transparent;
    border: 1px solid var(--color-white);
    transition: var(--transition-normal);
    display: inline-block;
    text-decoration: none;
}

.view-btn:hover,
.gallery-link:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

a.portfolio-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--color-off-white);
}

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

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--color-accent);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon svg {
    color: var(--color-white);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.service-features {
    text-align: left;
    margin-bottom: 24px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-gray-100);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.service-link:hover {
    color: var(--color-primary);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--color-primary);
    color: var(--color-white);
}

.testimonials .section-subtitle {
    color: var(--color-accent);
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-icon {
    margin-bottom: 24px;
}

.quote-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    opacity: 0.5;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
}

.author-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.rating {
    display: flex;
    gap: 4px;
}

.rating span {
    color: var(--color-accent);
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

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

.slider-btn svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background: var(--color-accent);
    width: 30px;
    border-radius: 5px;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-subtitle {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-description {
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.contact-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

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

.contact-form {
    background: var(--color-off-white);
    padding: 50px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid var(--color-gray-300);
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.9rem;
    color: var(--color-gray-500);
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--color-accent);
}

.form-group select {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-gray-300);
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

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

.btn-submit {
    width: 100%;
    padding: 18px;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 2rem;
}

.footer-tagline {
    color: var(--color-gray-400);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    font-size: 0.9rem;
    color: var(--color-gray-400);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--color-accent);
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    margin-bottom: 10px;
    display: block;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.footer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
}

.footer-credit a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-credit a:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--color-gray-400);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.social-link:hover svg {
    color: var(--color-white);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.lightbox-close span {
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--color-white);
    top: 50%;
    left: 50%;
}

.lightbox-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

.lightbox-btn.prev {
    left: 30px;
}

.lightbox-btn.next {
    right: 30px;
}

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

.lightbox-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .hero-text {
        max-width: 500px;
    }

    .hero-stats {
        gap: 40px;
        padding: 25px 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 50px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        padding: 100px 40px;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-xl);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .nav-link {
        display: block;
        padding: 20px 0;
        color: var(--color-text) !important;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 28px;
        height: 2px;
        background: var(--color-white);
        transition: var(--transition-normal);
    }

    .header.scrolled .nav-toggle span {
        background: var(--color-primary);
    }

    .nav-close {
        display: flex;
        position: absolute;
        top: 30px;
        right: 30px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .nav-close span {
        position: absolute;
        width: 28px;
        height: 2px;
        background: var(--color-primary);
        top: 50%;
        left: 50%;
    }

    .nav-close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav-close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .hero-text {
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 25px;
        padding: 20px 25px;
        flex-wrap: wrap;
        width: 100%;
    }

    .scroll-down {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form {
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 15px;
        padding: 15px 20px;
    }

    .stat {
        flex: 0 0 calc(50% - 10px);
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .slider-controls {
        gap: 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* Animations for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slower);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}