/* ===========================
   GLOBAL STYLES & RESET
   =========================== */

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

:root {
    --primary-color: #2c3e2c;       /* Deep sage green */
    --secondary-color: #d0dfc8;     /* Very light sage */
    --accent-color: #77a361;        /* Medium sage green */
    --text-color: #2c3e2c;          /* Deep sage for text */
    --text-light: #527141;          /* Medium-dark sage */
    --sage-medium: #527141;         /* Brand sage */
    --sage-light: #a4c195;          /* Light sage */
    --white: #ffffff;
    --cream: #f9faf8;               /* Soft off-white */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 2px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(219, 234, 210, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(44, 62, 44, 0.08);
    border-bottom: 2px solid #527141;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(44, 62, 44, 0.12);
}

.page-title {
    position: fixed;
    top: 0;
    left: 0;
    padding: 32px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--primary-color);
    z-index: 1001;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.logo-img {
    height: 95px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.logo a:hover .logo-img {
    transform: scale(1.03);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    top: 35px;
    right: 40px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hamburger Dropdown Menu */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: rgba(249, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(44, 62, 44, 0.15);
}

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

.hamburger-nav {
    list-style: none;
    padding: 120px 50px 50px;
    margin: 0;
}

.hamburger-nav li {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-nav li {
    opacity: 1;
    transform: translateX(0);
}

.hamburger-menu.active .hamburger-nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.hamburger-menu.active .hamburger-nav li:nth-child(2) {
    transition-delay: 0.15s;
}

.hamburger-menu.active .hamburger-nav li:nth-child(3) {
    transition-delay: 0.2s;
}

.hamburger-menu.active .hamburger-nav li:nth-child(4) {
    transition-delay: 0.25s;
}

.hamburger-menu.active .hamburger-nav li:nth-child(5) {
    transition-delay: 0.3s;
}

.hamburger-menu.active .hamburger-nav li:nth-child(6) {
    transition-delay: 0.35s;
}

.hamburger-nav a {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    transition: var(--transition);
    display: block;
    font-family: 'Cormorant Garamond', serif;
}

.hamburger-nav a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

/* Desktop-only: fade in on scroll */
@media (min-width: 969px) {
    .navbar {
        transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
        padding: 5px 0;
    }
    
    .navbar.scrolled .nav-container {
        padding: 15px 40px;
    }
    
    .navbar.scrolled .logo-img {
        height: 80px;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 130px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 44, 0.3), rgba(44, 62, 44, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: clamp(28px, 8vw, 72px);
    font-weight: 300;
    letter-spacing: clamp(1px, 0.4vw, 4px);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-company {
    font-size: clamp(20px, 5vw, 42px);
    font-weight: 400;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
}

.hero-subtitle {
    font-size: clamp(11px, 2.5vw, 18px);
    font-weight: 300;
    letter-spacing: clamp(1.5px, 0.3vw, 3px);
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Crafting Moments Hero - Darker overlay for 40% video effect */
.crafting-moments-hero .hero-overlay {
    background: linear-gradient(rgba(44, 62, 44, 0.5), rgba(44, 62, 44, 0.7));
}

/* ===========================
   PAGE HERO
   =========================== */

.page-hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--cream) 100%);
    text-align: center;
    margin-top: 130px;
    position: relative;
    overflow: hidden;
}

.lovebook-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Love%20Story%20Background.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.lovebook-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(44, 62, 44, 0.3) 100%);
    z-index: 0;
}

.lovebook-hero .container {
    position: relative;
    z-index: 1;
}

.lovebook-hero .page-hero-title,
.lovebook-hero .page-hero-subtitle {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(255, 255, 255, 0.6);
}

.page-hero-title {
    font-size: clamp(24px, 6vw, 56px);
    font-weight: 300;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: clamp(11px, 2vw, 16px);
    font-weight: 300;
    letter-spacing: clamp(1px, 0.2vw, 2px);
    color: var(--text-color);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* ===========================
   WELCOME SECTION
   =========================== */

.welcome {
    padding: 140px 0;
    background: var(--white);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.welcome-title {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: 35px;
    color: var(--primary-color);
    line-height: 1.3;
}

.welcome-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===========================
   PORTFOLIO PREVIEW
   =========================== */

.portfolio-preview {
    padding: 120px 0;
    background: var(--cream);
}

.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
}

.category-card a {
    display: block;
}

.category-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 44, 0.2);
    transition: background 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: rgba(44, 62, 44, 0.35);
}

.category-title {
    font-size: clamp(13px, 2.5vw, 18px);
    font-weight: 400;
    letter-spacing: clamp(1.5px, 0.3vw, 3px);
    text-align: center;
    margin-top: 25px;
    color: var(--primary-color);
    transition: color 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.category-card:hover .category-title {
    color: var(--accent-color);
}

/* ===========================
   CONTACT INFO SECTION
   =========================== */

.contact-info-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
    padding: 0 20px;
}

.contact-info-item h3 {
    font-size: clamp(10px, 2vw, 13px);
    font-weight: 500;
    letter-spacing: clamp(1.5px, 0.3vw, 3px);
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-info-item a {
    font-size: clamp(13px, 2.5vw, 16px);
    color: var(--primary-color);
    transition: color 0.3s ease;
    word-break: break-word;
}

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

.contact-info-item p {
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.8;
    color: var(--text-color);
    word-break: break-word;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

.contact .btn-secondary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.contact .btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ===========================
   SECTION HEADERS
   =========================== */

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

.section-header h2 {
    font-size: clamp(22px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.divider {
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: clamp(14px, 2.5vw, 18px);
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 300;
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 120px 0;
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid rgba(119, 163, 97, 0.2);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 62, 44, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    color: var(--accent-color);
}

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

.service-card h3 {
    font-size: clamp(16px, 2.5vw, 22px);
    letter-spacing: clamp(1px, 0.2vw, 2px);
    margin-bottom: 20px;
    font-weight: 500;
}

.service-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */

.portfolio {
    padding: 120px 0;
    background: var(--white);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 25px 15px;
    opacity: 1;
    transition: var(--transition);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
}

/* Touch support for mobile */
.portfolio-item.touched .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
}

.portfolio-item.touched img {
    transform: scale(1.05);
}

/* Video items in portfolio grid */
.portfolio-grid .video-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(44, 62, 44, 0.12);
    border: 1px solid rgba(119, 163, 97, 0.15);
    transition: var(--transition);
}

.portfolio-grid .video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-grid .video-item:hover {
    transform: scale(1.05);
}

/* ===========================
   VIDEO SHOWCASE SECTION
   =========================== */

.video-showcase {
    padding: 80px 0;
    background: var(--secondary-color);
}

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

.video-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(44, 62, 44, 0.12);
    border: 1px solid rgba(119, 163, 97, 0.15);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===========================
   ABOUT US PAGE SPECIFIC
   =========================== */

.aboutus-hero {
    position: relative;
    overflow: hidden;
}

.aboutus-carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.carousel-bg-slide.active {
    opacity: 0.4;
}

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

.aboutus-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(44, 62, 44, 0.4) 100%);
    z-index: 0;
}

.aboutus-hero .container {
    position: relative;
    z-index: 1;
}

.aboutus-hero .page-hero-title,
.aboutus-hero .page-hero-subtitle {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ===========================
   IMAGE CAROUSEL SECTION
   =========================== */

.image-carousel-section {
    padding: 120px 0;
    background: var(--white);
}

.image-carousel {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(44, 62, 44, 0.15);
    aspect-ratio: 16 / 10;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.6s ease-in;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

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

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev svg,
.carousel-next svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--sage-light);
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

.carousel-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.carousel-dot:hover {
    border-color: var(--accent-color);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 120px 0;
    background: var(--cream);
}

.testimonial-slider {
    max-width: 800px;
    margin: 60px auto 40px;
    position: relative;
    min-height: 200px;
}

.testimonial-item {
    display: none;
    text-align: center;
    animation: fadeIn 0.6s ease-in;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-size: clamp(15px, 2.5vw, 20px);
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 300;
}

.testimonial-author {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--sage-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    padding: 120px 0;
    background: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item .label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-color);
    font-size: 15px;
}

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

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

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

/* ===========================
   CONTACT FORM
   =========================== */

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(44, 62, 44, 0.08);
    border: 1px solid rgba(119, 163, 97, 0.15);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(119, 163, 97, 0.3);
    background: var(--white);
    color: var(--text-color);
    transition: var(--transition);
}

.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(119, 163, 97, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    font-size: 11px;
    letter-spacing: 2px;
}

.contact-form button {
    width: 100%;
}

/* ===========================
   CALENDLY WIDGET
   =========================== */

.calendly-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(44, 62, 44, 0.08);
    border: 1px solid rgba(119, 163, 97, 0.15);
}

.calendly-inline-widget {
    border-radius: 4px;
    overflow: hidden;
}

/* ===========================
   NEWSLETTER SECTION
   =========================== */

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--sage-medium));
    color: var(--white);
    text-align: center;
}

.newsletter h3 {
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

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

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    font-size: 11px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--sage-light);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.newsletter-form .btn-secondary:hover {
    background: var(--cream);
    border-top: 1px solid rgba(119, 163, 97, 0.2);
    color: var(--primary-color);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    padding: 80px 0 60px;
    background: var(--white);
    text-align: center;
    border-top: 1px solid rgba(119, 163, 97, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-nav a {
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--sage-medium);
    transition: var(--transition);
    font-weight: 600;
}

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

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-socials a {
    color: var(--sage-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

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

.powered-by {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 500;
}

.powered-by a {
    color: var(--text-light);
    transition: var(--transition);
    font-weight: 600;
}

.powered-by a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-light);
    opacity: 0.8;
    font-weight: 500;
    padding: 0 20px;
}

/* ===========================
   ANIMATIONS
   =========================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    min-height: 1px; /* Prevent height collapse when invisible */
}

section.visible,
.hero {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item,
.category-card,
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.visible,
.category-card.visible,
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.category-card:nth-child(1).visible {
    transition-delay: 0.1s;
}

.category-card:nth-child(2).visible {
    transition-delay: 0.2s;
}

.category-card:nth-child(3).visible {
    transition-delay: 0.3s;
}

.portfolio-item:nth-child(1).visible {
    transition-delay: 0.05s;
}

.portfolio-item:nth-child(2).visible {
    transition-delay: 0.1s;
}

.portfolio-item:nth-child(3).visible {
    transition-delay: 0.15s;
}

.portfolio-item:nth-child(4).visible {
    transition-delay: 0.2s;
}

.portfolio-item:nth-child(5).visible {
    transition-delay: 0.25s;
}

.portfolio-item:nth-child(6).visible {
    transition-delay: 0.3s;
}

.portfolio-item:nth-child(7).visible {
    transition-delay: 0.35s;
}

.portfolio-item:nth-child(8).visible {
    transition-delay: 0.4s;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 20px 40px;
    }

    .logo-img {
        height: 85px;
    }

    .hero {
        margin-top: 120px;
    }

    .page-hero {
        padding: 160px 0 80px;
        margin-top: 120px;
    }

    .hamburger {
        top: 28px;
        right: 35px;
    }

    .welcome {
        padding: 100px 0;
    }

    .welcome-text {
        font-size: 14px;
    }

    .portfolio-preview {
        padding: 100px 0;
    }

    .portfolio-categories {
        gap: 30px;
    }

    .contact-info-section {
        padding: 80px 0;
    }

    .contact-info-grid {
        gap: 45px;
    }
}

@media (max-width: 968px) {
    .page-title {
        padding: 22px 20px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hamburger {
        top: 22px;
        right: 30px;
    }

    .hamburger-menu {
        width: 320px;
    }

    .hamburger-nav {
        padding: 100px 40px 40px;
    }

    .hamburger-nav li {
        margin-bottom: 28px;
    }

    .hamburger-nav a {
        font-size: 16px;
    }

    .nav-container {
        padding: 15px 30px;
    }

    .logo-img {
        height: 65px;
    }

    .page-hero {
        padding: 140px 0 70px;
        margin-top: 100px;
    }

    .hero {
        height: 80vh;
        margin-top: 100px;
    }

    .hero-title {
        padding: 0 20px;
    }

    .about,
    .services,
    .portfolio,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

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

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

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

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

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

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

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

    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .calendly-wrapper {
        padding: 30px 20px;
    }

    .lead-text {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .welcome {
        padding: 80px 0;
    }

    .welcome-title {
        font-size: 36px;
    }

    .welcome-text {
        font-size: 14px;
        padding: 0 20px;
    }

    .portfolio-preview {
        padding: 80px 0;
    }

    .contact-info-section {
        padding: 70px 0;
    }

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

@media (max-width: 600px) {
    .page-title {
        padding: 20px 15px;
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .hamburger {
        top: 20px;
        right: 20px;
    }

    .hamburger span {
        width: 25px;
    }

    .hamburger-menu {
        width: 280px;
    }

    .hamburger-nav {
        padding: 90px 30px 30px;
    }

    .hamburger-nav li {
        margin-bottom: 25px;
    }

    .hamburger-nav a {
        font-size: 15px;
        letter-spacing: 2.5px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .logo-img {
        height: 55px;
    }

    .page-hero {
        padding: 120px 0 60px;
        margin-top: 85px;
    }

    .hero {
        height: 70vh;
        margin-top: 85px;
    }

    .hero-title {
        padding: 0 20px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-prev svg,
    .carousel-next svg {
        width: 20px;
        height: 20px;
    }

    .about,
    .services,
    .portfolio,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

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

    .about-content p {
        font-size: 14px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card p {
        font-size: 13px;
    }

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

    .portfolio-overlay {
        padding: 15px 10px;
    }

    .portfolio-overlay h3 {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .testimonial-text {
        padding: 0 10px;
    }

    .testimonial-author {
        font-size: 12px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .calendly-wrapper {
        padding: 20px 15px;
    }

    .welcome {
        padding: 60px 0;
    }

    .welcome-text {
        font-size: 13px;
    }

    .portfolio-preview {
        padding: 60px 0;
    }

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

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

    .category-title {
        letter-spacing: 2.5px;
    }

    .contact-info-section {
        padding: 50px 0;
    }

    .contact-info-item h3 {
        font-size: 12px;
    }

    .contact-info-item a,
    .contact-info-item p {
        font-size: 13px;
    }

    .contact-info h3 {
        font-size: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 15px;
        font-size: 11px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 15px 35px;
        font-size: 10px;
        width: 100%;
    }

    .footer {
        padding: 60px 0 40px;
    }

    .footer-nav {
        gap: 15px 25px;
        margin-bottom: 35px;
    }

    .footer-nav a {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 400px) {
    .page-title {
        padding: 18px 12px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .hamburger-menu {
        width: 100%;
    }

    .hamburger-nav {
        padding: 90px 25px 30px;
    }

    .hamburger-nav li {
        margin-bottom: 22px;
    }

    .hamburger-nav a {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .page-hero {
        padding: 100px 0 50px;
        margin-top: 85px;
    }

    .services-grid {
        gap: 30px;
    }

    .video-showcase {
        padding: 60px 0;
    }

    .footer {
        padding: 50px 0 40px;
    }

    .footer-nav {
        gap: 20px;
        margin-bottom: 30px;
    }

    .footer-nav a {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent zooming on input focus on iOS */
@media screen and (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 600px) {
    .footer-nav a,
    .social-icon {
        padding: 10px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
