@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #001007;
    --secondary-dark: #0a120a;
    --tertiary-dark: #0c100d;
    --accent: #ffffff;
    --accent-light: rgba(18, 22, 19, 0.18);
    --text-primary: #f7f7f7;
    --text-secondary: #ececec;
    --transition: all 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rethink Sans', serif;
    font-weight: 300;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===============================
   HERO SECTION
=============================== */
.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    height: 100vh;
    width: 100%;
}

/* LEFT COLUMN */
.hero-left {
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 4rem;
    position: relative;
    z-index: 10;
}

/* New styles for the dynamic text effect */
#dynamic-word {
    position: relative; /* Required for the cursor positioning */
}

/* Blinking cursor effect */
#dynamic-word::after {
    content: '|';
    position: absolute;
    right: -1.5rem; /* Adjust this value to position the cursor correctly */
    animation: blink 1s infinite;
    /* Match the font weight and color of the h1 if needed */
    font-weight: 200;
    color: var(--text-primary);
}

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

.logo {
    width: 70px;
    height: 70px;
    cursor: pointer;
    perspective: 1000px;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

.logo img.spinning {
    animation: logoFlipBurst 1.8s cubic-bezier(.17,.84,.44,1);
}

@keyframes logoFlipBurst {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }
    20% {
        transform: translateY(-5px) rotateY(540deg);
    }
    50% {
        transform: translateY(-3px) rotateY(1080deg);
    }
    75% {
        transform: translateY(-5px) rotateY(1350deg);
    }
    100% {
        transform: translateY(0px) rotateY(1440deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-content {
    margin-top: -4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    font-family: 'Rethink Sans', serif;
    line-height: 1.2; /* Increased for better spacing between lines */
    color: var(--text-primary);
}

#dynamic-word{
    font-family: 'The Nautigal', cursive;
    font-size: 5.0rem;
}

.hero-cta {
    display: inline-block; /* Add this */
    text-decoration: none; /* Add this */
    padding: 0.9rem 1.9rem;
    font-size: 0.9rem;
    font-weight: 200;
    margin-top: 2rem;
    font-family: 'Rethink Sans', serif;
    border: 2px solid rgba(255, 255, 255, 0.913);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    letter-spacing: 1px;
}


.hero-cta:hover {
    background: rgba(255,255,255,1);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* ===============================
   RIGHT COLUMN
=============================== */
.hero-right {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin: 1.5rem 1.5rem 1.5rem 0rem;
}

/* ===============================
   NAVIGATION
=============================== */
.navbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 2rem 2.5rem;
    transition: background 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu > li > a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
    border-radius: 999px;
}

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

.dropdown {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(10,18,10,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent);
}

/* ===============================
   HERO IMAGE
=============================== */
.hero-fluid-bg {
    position:absolute;
    inset:0;
    overflow:hidden;
    border-radius:40px;
    z-index:1;
}

#fluid-canvas {
    width:100%;
    height:100%;
    display:block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 2;
    pointer-events: none;
}

/* ===============================
   SCROLL INDICATOR
=============================== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: 'Rethink Sans', serif;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 2px;
    animation: fadeInUp 1.5s ease forwards;
    margin-left: 46rem; /* remove this if possible */
}

.scroll-indicator p {
    text-align: center;
}

.mouse {
    width: 22px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    margin-bottom: 8px;
    position: relative;
}

.mouse::after {
    content: "";
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

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

/* ===============================
   STACKING COVER EFFECT
=============================== */
.stack-wrapper {
    position: relative;
}

.stack-section {
    top: 0;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem;
    position: relative;
}

.stack-section {
    background: var(--primary-dark);
}

.stack-section.alternate-bg {
    background: var(--secondary-dark);
}

#content-design,
#photography,
#content-creation {
    position: sticky;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.35);
}

#content-design,
#photography,
#content-creation:not(:last-child) {
    margin-bottom: 100vh;
}

/* Layer order for the sections AFTER portfolio */
#content-design { z-index: 3; }
#photography { z-index: 4; }
#content-creation { z-index: 5; }

/* ===============================
   SECTION CONTENT
=============================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.95),
        rgba(255,255,255,0.7)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p{
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===============================
   SCROLL REVEAL
=============================== */
.section-content[data-scroll] {
    opacity: 0;
    transform: translateY(40px);
}

/* ===============================
   FOOTER
=============================== */
.footer {
    background: var(--secondary-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    z-index: 100;
}

/* ===============================
   PORTFOLIO STACKING STYLES
=============================== */
.card-stack-container {
    position: relative;
    width: 100%;
    height: 200vh;
    margin-top: 3rem;
}

.portfolio-card {
    position: sticky;
    top: 10vh;
    height: 80vh;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
    color: white;
    text-decoration: none;
    background-size: cover;
    background-position: center;
}

#portfolio-card-1 {
    background-image: url('images/artistry.webp');
    z-index: 11;
}

#portfolio-card-2 {
    background-image: url('images/plant_patch.webp');
    z-index: 12;
}

.portfolio-card h3 {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.portfolio-card p {
    max-width: 400px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* ===============================
   CUSTOM CURSOR STYLES
=============================== */
body.portfolio-cursor-active,
body.portfolio-cursor-active a {
    cursor: none;
}

.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
}

body.portfolio-cursor-active .cursor {
    opacity: 1;
}

.cursor-icon {
    opacity: 0;
    font-size: 20px;
    color: white;
    transition: opacity 0.2s;
}

.cursor.link-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(53, 106, 15, 0.8);
    border-color: transparent;
}

.cursor.link-hover .cursor-icon {
    opacity: 1;
}

/* ===============================
   NEW PRICING SECTION
=============================== */
.pricing-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2ch;
    background-color: #ffffff;
    color: #0a120a;
    font-family: 'Rethink Sans', serif;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
    width: 100%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.pricing-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 2.5rem;
    width: 350px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-color:rgba(53, 106, 15, 0.8);;
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(53, 106, 15, 100);;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.features li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

.cta-button {
    width: 100%;
    padding: 1rem;
    border-radius:50rem;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #000;
    color: #fff;
}

.popular .cta-button {
    background-color: #000;
    color: #fff;
}

.popular .cta-button:hover {
    background-color: #333;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ccc;
    font-style: normal;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 3rem;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    position: relative;
    color: #000;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#consultation-form h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

#consultation-form input,
#consultation-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Rethink Sans', sans-serif;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #333;
}


/* ===============================
   MOBILE ADJUSTMENTS (HAMBURGER MENU VERSION)
=============================== */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; height: 100vh; position: relative; }
    
    .hero-right {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; z-index: 1;
        background-image: url('images/bgCovers.webp'); background-size: cover; background-position: center;
    }

    #fluid-canvas { display: none !important; }
    .hero-overlay { background: rgba(0, 16, 7, 0.5); }

    .hero-left {
        min-height: 100vh; width: 100%; background: transparent; padding: 1.5rem; display: flex; flex-direction: column; 
        justify-content: center; align-items: center; text-align: center; z-index: 5; position: relative;
    }

    .navbar { display: none !important; } /* Hide old nav */
    
    .logo { position: absolute; top: 1.5rem; left: 1.5rem; width: 50px; height: 50px; z-index: 10; }
    
    .hero-content { margin-top: 0; padding-bottom: 5rem; }
    .hero-title { font-size: 2.6rem; }
    #dynamic-word { font-size: 4.5rem; }
    #dynamic-word::after { right: -1rem; }
    .hero-cta {
    margin-top: 2rem;
    text-decoration: none;
}

    
    .scroll-indicator { margin-left: 0; width: auto; position: absolute; bottom: 2rem; left: 33%; transform: translateX(-35%); }

    /* STYLING FOR THE HAMBURGER BUTTON */
    .hamburger-menu {
        position: fixed; top: 1.5rem; right: 1.5rem; width: 30px; height: 24px; display: flex; 
        flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 1001; 
    }
    .hamburger-menu span {
        display: block; height: 3px; width: 100%; background-color: #fff; border-radius: 3px; transition: all 0.3s ease-in-out;
    }
    .hamburger-menu.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

    /* STYLING FOR THE FULL-SCREEN MENU PANEL */
    .mobile-nav-panel {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 16, 7, 0.95); 
        backdrop-filter: blur(10px); z-index: 1000; display: flex; flex-direction: column; align-items: center; 
        justify-content: center; list-style: none; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out;
    }
    .mobile-nav-panel.active { opacity: 1; pointer-events: auto; overflow-y: auto; }
    body.no-scroll { overflow: hidden; }

    .mobile-nav-panel li { text-align: center; margin: 1.2rem 0; width: 100%; }
    .mobile-nav-panel li a { color: #fff; font-size: 1.5rem; text-decoration: none; font-weight: 400; display: inline-block; }
    
    /* ACCORDION EFFECT FOR DROPDOWNS */
    .mobile-nav-panel .dropdown-content {
        display: none; /* Hidden by default */
        flex-direction: column; list-style: none; padding-top: 1rem; gap: 1rem;
    }
    /* Shows only when the main link is tapped (handled by JS) */
    .mobile-nav-panel .dropdown.open .dropdown-content {
        display: flex; 
    }
    /* Style the sub-links */
    .mobile-nav-panel .dropdown-content a { font-size: 1.1rem; color: #b3b3b3; font-weight: 300; }
    
    /* Remove stacking effects for mobile */
    .stack-section, #content-design, #photography, #content-creation { 
        position: relative; min-height: auto; margin-bottom: 0 !important; border-radius: 0; padding: 4rem 1.5rem; 
    }

    .card-stack-container { display: flex; flex-direction: column; gap: 1.5rem; height: auto; margin-top: 2rem; width: 100%; }
    .portfolio-card { position: relative !important; top: auto !important; left: auto !important; right: auto !important; height: 320px; width: 100%; margin: 0; }

    body, a { cursor: auto !important; }
    .cursor { display: none !important; }
    
    .pricing-container { padding: 4rem 1.5rem; }
    .pricing-cards { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 400px; }
}
