/* ===================================
   CSS Variables & Base Styles
   =================================== */

:root {
    /* Colors - Cobalt Blue Palette */
    --color-primary: #0047AB;
    --color-primary-light: #4169E1;
    --color-primary-dark: #002D6D;
    --color-accent: #1E90FF;
    --color-accent-light: #6BB3F7;

    --color-bg: #f0f5ff;
    --color-bg-warm: #e6eeff;
    --color-bg-soft: #d4e3ff;

    --color-text: #1a2234;
    --color-text-light: #4a5568;
    --color-text-muted: #8892a4;

    --color-white: #ffffff;
    --color-cream: #f5f8fc;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

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

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-text);
    margin-bottom: 24px;
}

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

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

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--color-text-light);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

/* Hide Instagram link on desktop nav */
.nav-social {
    display: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--color-text);
}

/* Hamburger animation when open */
.nav-toggle.active .hamburger {
    background: transparent !important;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
    background: var(--color-text);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
    background: var(--color-text);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #4169E1 0%, #0047AB 50%, #002D6D 100%);
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1528722828814-77b9b83aafb2?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 71, 171, 0.4) 0%, rgba(240, 245, 255, 0.85) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 40px;
}

.hero-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 50px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-light);
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border-right: 1px solid var(--color-text-light);
    border-bottom: 1px solid var(--color-text-light);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(10px);
    }
    60% {
        transform: rotate(45deg) translateY(5px);
    }
}

/* Hero Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

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

/* ===================================
   About Section
   =================================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.portrait {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--color-primary-light);
    border-radius: 200px 200px 20px 20px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.9;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--color-bg-soft);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ===================================
   Parallax Sections
   =================================== */

.parallax-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.parallax-1 {
    background-image: url('https://cdn.pixabay.com/photo/2016/07/02/12/21/eclipse-1492818_1280.jpg');
}

.parallax-2 {
    background-image: url('https://cdn.pixabay.com/photo/2020/06/07/12/47/clouds-5270274_1280.jpg');
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.85) 0%, rgba(65, 105, 225, 0.7) 100%);
}

.parallax-content {
    position: relative;
    text-align: center;
    padding: 40px;
}

.quote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-white);
    max-width: 900px;
    line-height: 1.6;
}

.quote-author {
    display: block;
    margin-top: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

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

.service-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 71, 171, 0.2) 100%);
}

.service-content {
    padding: 40px;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.service-content p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-duration {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-bg-soft);
    border-radius: 20px;
}

.services-note {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--color-white);
    border-radius: 15px;
    border-left: 3px solid var(--color-primary-light);
}

.services-note p {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ===================================
   Journey Section
   =================================== */

.journey {
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

.journey-content {
    max-width: 1000px;
    margin: 0 auto;
}

.journey-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.journey-block.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.journey-block.reverse .journey-image {
    order: 2;
}

.journey-block.reverse .journey-text {
    order: 1;
}

.journey-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.journey-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.journey-text h3 {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.journey-text p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.9;
}

.journey-summary {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px 50px;
    background: var(--color-white);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.journey-summary p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
}

/* ===================================
   Explainer Section
   =================================== */

.explainer {
    padding: var(--section-padding) 0;
    background: var(--color-bg-warm);
}

.explainer-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.explainer-card {
    flex: 1;
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.explainer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    color: var(--color-primary);
}

.explainer-icon svg {
    width: 100%;
    height: 100%;
}

.explainer-card h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.explainer-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.explainer-card p:last-child {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.explainer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.explainer-divider span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary-light);
}

/* ===================================
   Process Section
   =================================== */

.process {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.process-line {
    width: 60px;
    height: 1px;
    background: var(--color-primary-light);
    margin-top: 60px;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

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

.testimonial-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars span {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 500;
    color: var(--color-text);
}

.author-service {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Gallery Section
   =================================== */

.gallery {
    background: var(--color-bg-warm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 71, 171, 0);
    transition: var(--transition-smooth);
}

.gallery-item:hover::after {
    background: rgba(0, 71, 171, 0.3);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

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

.contact-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.contact-item a,
.contact-item span:last-child {
    color: var(--color-text);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--color-primary);
}

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

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-bg-soft);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-light);
    background: var(--color-white);
}

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

.submit-button {
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    align-self: flex-start;
}

.submit-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: 60px 0 30px;
    background: var(--color-bg-warm);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-text);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

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

/* ===================================
   Scroll Reveal Animations
   =================================== */

.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-fade {
    transform: translateY(20px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-fade.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .portrait {
        height: 500px;
    }

    .journey-block,
    .journey-block.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .journey-block.reverse .journey-image,
    .journey-block.reverse .journey-text {
        order: unset;
    }

    .journey-summary {
        padding: 30px;
    }

    .explainer-grid {
        flex-direction: column;
    }

    .explainer-divider {
        padding: 20px 0;
    }

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

    .process-steps {
        flex-wrap: wrap;
    }

    .process-line {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: block;
        z-index: 10000;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 80px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        z-index: 9999;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-bg-soft);
    }

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

    .nav-menu a::after {
        display: none;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    /* Show Instagram in mobile menu */
    .nav-social {
        display: block;
        border-bottom: none !important;
    }

    .nav-social a {
        color: var(--color-primary) !important;
        font-size: 0.9rem !important;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile */
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    /* About Mobile */
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .portrait {
        height: 400px;
        border-radius: 150px 150px 20px 20px;
    }

    .image-decoration {
        border-radius: 150px 150px 20px 20px;
    }

    /* Parallax Mobile */
    .parallax-section {
        background-attachment: scroll;
        height: auto;
        min-height: 350px;
        padding: 60px 20px;
    }

    .quote {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .quote-author {
        font-size: 0.8rem;
        margin-top: 20px;
    }

    /* Journey Mobile */
    .journey-text h3 {
        font-size: 1.4rem;
    }

    .journey-text p {
        font-size: 0.95rem;
    }

    .journey-summary {
        padding: 25px 20px;
    }

    .journey-summary p {
        font-size: 1rem;
    }

    /* Services Mobile */
    .service-image {
        height: 200px;
    }

    /* Process Mobile */
    .process-steps {
        flex-direction: column;
        gap: 10px;
    }

    .process-step {
        max-width: 100%;
        padding: 25px 15px;
    }

    .step-number {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .process-step h4 {
        font-size: 1.2rem;
    }

    /* Explainer Mobile */
    .explainer-card {
        padding: 35px 25px;
    }

    .explainer-card h3 {
        font-size: 1.5rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 220px;
    }

    /* Testimonials Mobile */
    .testimonial-text {
        font-size: 1rem;
    }

    /* Contact Mobile */
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .submit-button {
        width: 100%;
        text-align: center;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 25px;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 0.75rem;
        width: 100%;
        max-width: 280px;
    }

    .service-content {
        padding: 25px 20px;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .portrait {
        height: 350px;
    }

    /* Improve touch targets */
    .social-link {
        width: 50px;
        height: 50px;
    }

    .nav-menu a {
        padding: 18px;
        min-height: 56px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* Prevent horizontal overflow on all sections */
section, footer {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}
