:root {
   --primary: #6d001a;
   --primary-light: #9e1a37;
   --primary-dark: #4e0012;
   --secondary: #708090;
   --secondary-light: #8fa0b0;
   --secondary-dark: #546070;
   --light: #f4efe6;
   --light-accent: #eae3d7;
   --dark: #333330;
   --dark-accent: #1e1e1c;
   --white: #ffffff;
   --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
   --transition: all 0.3s ease;
   --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
   --gradient-light: linear-gradient(135deg, var(--light) 0%, var(--white) 50%, var(--light-accent) 100%);
}
*, *::before, *::after {
    box-sizing: border-box;
}

body {
   font-family: 'Lato', sans-serif;
   line-height: 1.7;
   color: var(--dark);
   background-color: var(--light);
   font-size: 16px;
   font-weight: 400;
   margin: 0;
   padding: 0;
   overflow-x: hidden;
   overflow-y: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box; /* ADD THIS LINE */
}

h1, h2, h3, h4, h5, h6 {
   font-family: 'Playfair Display', serif;
   margin-bottom: 1.2rem;
   line-height: 1.3;
   font-weight: 700;
   color: var(--dark);
}

h1 {
   font-size: 3.5rem;
   letter-spacing: -0.5px;
}

h2 {
   font-size: 2.5rem;
   margin-bottom: 1.8rem;
   position: relative;
   display: inline-block;
}

h2:after {
   content: '';
   position: absolute;
   width: 60px;
   height: 3px;
   background-color: var(--primary);
   bottom: -10px;
   left: 50%;
   transform: translateX(-50%);
}

h2.text-center,
.text-center h2 {
   display: block !important;
   text-align: center;
   width: 100%;
}

h3 {
   font-size: 1.75rem;
}

p {
   margin-bottom: 1.25rem;
   color: var(--dark);
   font-size: 1.05rem;
}

a {
   text-decoration: none;
   color: var(--primary);
   transition: var(--transition);
   font-weight: 500;
}

a:hover {
   color: var(--primary-light);
}

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

.section {
   padding: 5rem 0;
   position: relative;
}

.section:nth-child(even) {
   background-color: var(--white);
}

.section.bg-light {
   background-color: var(--light-accent);
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.grid {
   display: grid;
   gap: 2.5rem;
}

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

.btn {
   display: inline-block;
   padding: 0.9rem 1.8rem;
   background-color: var(--primary);
   color: white;
   border: none;
   border-radius: 6px;
   cursor: pointer;
   font-weight: 700;
   text-align: center;
   transition: var(--transition);
   letter-spacing: 0.5px;
   text-transform: uppercase;
   font-size: 0.9rem;
   box-shadow: 0 4px 6px rgba(109, 0, 26, 0.2);
}

.btn:hover {
   background-color: var(--primary-light);
   color: white;
   transform: translateY(-3px);
   box-shadow: 0 6px 12px rgba(109, 0, 26, 0.3);
}

.btn:active {
   transform: translateY(-1px);
   box-shadow: 0 3px 6px rgba(109, 0, 26, 0.2);
}

.btn-secondary {
   background-color: var(--secondary);
   box-shadow: 0 4px 6px rgba(112, 128, 144, 0.2);
}

.btn-secondary:hover {
   background-color: var(--secondary-light);
   box-shadow: 0 6px 12px rgba(112, 128, 144, 0.3);
}

.btn-outline {
   background-color: transparent;
   color: var(--primary);
   border: 2px solid var(--primary);
   box-shadow: none;
}

.btn-outline:hover {
   background-color: var(--primary);
   color: white;
   box-shadow: 0 6px 12px rgba(109, 0, 26, 0.2);
}

.btn-lg {
   padding: 1.1rem 2.2rem;
   font-size: 1rem;
}

.btn-sm {
   padding: 0.7rem 1.2rem;
   font-size: 0.85rem;
}

header {
   background-color: white;
   box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   width: 100%;
   z-index: 9999;
   transition: var(--transition);
}
header.scrolled {
   background-color: white;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
   backdrop-filter: blur(10px);
}

.header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1.2rem 0;
}

.logo {
   display: flex;
   align-items: center;
}

.logo img {
   height: 60px;
   transition: var(--transition);
}

/* ============================================================================
   COMPLETE NAVIGATION STYLES - CENTRALIZED
   ============================================================================ */

/* Desktop Navigation - Default Styles */
nav ul {
   display: flex;
   list-style: none;
   gap: 2.5rem;
}

nav ul li a {
   color: var(--dark);
   font-weight: 600;
   padding: 0.5rem 0;
   position: relative;
   transition: var(--transition);
   font-size: 1.05rem;
}

nav ul li a:after {
   content: '';
   position: absolute;
   width: 0;
   height: 2px;
   bottom: 0;
   left: 0;
   background-color: var(--primary);
   transition: width 0.4s ease;
}

nav ul li a:hover {
   color: var(--primary);
   transform: translateY(-2px);
}

nav ul li a:hover:after,
nav ul li a.active:after {
   width: 100%;
}

nav ul li a.active {
   color: var(--primary);
}

.nav-toggle {
   display: none;
   background: none;
   border: none;
   font-size: 1.5rem;
   cursor: pointer;
   color: var(--dark);
   transition: var(--transition);
}

.nav-toggle:hover {
   color: var(--primary);
}

.nav-close {
   display: none;
   background: none;
   border: none;
   font-size: 1.8rem;
   color: var(--dark);
   cursor: pointer;
   position: absolute;
   top: 1rem;
   right: 1rem;
   padding: 0.75rem;
   border-radius: 6px;
   transition: all 0.3s ease;
   z-index: 1002;
   width: 44px;
   height: 44px;
   align-items: center;
   justify-content: center;
}

.nav-close:hover {
   background: rgba(109, 0, 26, 0.1);
   color: var(--primary);
   transform: scale(1.1);
}

.nav-close i {
   font-size: 1.5rem;
   font-weight: 900;
}

.overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   z-index: 1000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

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

/* Mobile Navigation Only */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1002;
        position: relative;
        padding: 0.5rem;
        border-radius: 4px;
    }

    .nav-toggle:hover {
        background: rgba(109, 0, 26, 0.1);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding-top: 4rem;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav.active .nav-close {
        display: flex !important;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(109, 0, 26, 0.2);
    }

    nav ul {
        flex-direction: column;
        padding: 0 2rem;
        gap: 1.5rem;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(109, 0, 26, 0.1);
    }
}
/* Hide hamburger when menu is open - FIXED VERSION */
.nav-toggle.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
.hero {
   padding: 6rem 0;
   background-color: var(--white);
   text-align: center;
   position: relative;
   overflow: hidden;
}
.hero-content {
   max-width: 850px;
   margin: 0 auto;
   position: relative;
   z-index: 2;
   padding: 0 1rem;
}

/* Mobile: Full-width hero content */
@media (max-width: 768px) {
   .hero-content {
       max-width: none;
       padding: 0 1.5rem;
   }
}

.hero:before {
   content: '';
   position: absolute;
   top: -50px;
   right: -25px; /* Changed from -50px */
   width: 200px; /* Changed from 250px */
   height: 200px; /* Changed from 250px */
   border-radius: 50%;
   background-color: rgba(109, 0, 26, 0.05);
   z-index: 1;
}

.hero:after {
   content: '';
   position: absolute;
   bottom: -70px;
   left: -35px; /* Changed from -70px */
   width: 250px; /* Changed from 300px */
   height: 250px; /* Changed from 300px */
   border-radius: 50%;
   background-color: rgba(112, 128, 144, 0.05);
   z-index: 1;
}

.hero-title {
   font-size: 3.5rem;
   margin-bottom: 1.8rem;
   color: var(--primary);
   line-height: 1.15;
   letter-spacing: -0.5px;
}

.hero-subtitle {
   font-size: 1.6rem;
   margin-bottom: 2.5rem;
   color: var(--secondary);
   font-weight: 300;
   line-height: 1.5;
}

.hero-buttons {
   display: flex;
   gap: 1.25rem;
   justify-content: center;
   margin-top: 2.5rem;
}

main {
   min-height: calc(100vh - 200px);
}

footer {
   background-color: var(--dark);
   color: white;
   padding: 4rem 0 4rem;
   overflow: visible;
   position: relative;
   min-height: auto;
}

.footer-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 3rem;
}

.footer-logo img {
   height: 55px;
   margin-bottom: 1.5rem;
   filter: brightness(0) invert(1);
}

.footer-logo p {
   color: #ccc;
   line-height: 1.7;
   margin-bottom: 1.5rem;
}

.footer-nav h4 {
   margin-bottom: 1.8rem;
   color: var(--light);
   font-size: 1.3rem;
   position: relative;
   padding-bottom: 0.8rem;
}

.footer-nav h4:after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 40px;
   height: 2px;
   background-color: var(--primary);
}

.footer-nav ul {
   list-style: none;
}

.footer-nav ul li {
   margin-bottom: 0.7rem;
}

.footer-nav ul li a {
   color: #ccc;
   transition: var(--transition);
   position: relative;
   padding-left: 15px;
}

.footer-nav ul li a:before {
   content: "›";
   position: absolute;
   left: 0;
   color: var(--primary-light);
}

.footer-nav ul li a:hover {
   color: white;
   padding-left: 20px;
}

.social-links {
   display: flex;
   gap: 1.2rem;
   margin-top: 1.5rem;
}

.social-links a {
   color: white;
   font-size: 1.3rem;
   transition: var(--transition);
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background-color: rgba(255, 255, 255, 0.1);
   display: flex;
   align-items: center;
   justify-content: center;
}

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

/* Force copyright to be visible */
.copyright {
   display: block !important;
   visibility: visible !important;
   opacity: 1 !important;
   margin-top: 3rem;
   text-align: center;
   padding: 1.8rem 0 2rem 0;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   font-size: 0.95rem;
   color: #ccc;
   width: 100%;
   height: auto;
   min-height: 60px;
   position: relative;
   z-index: 1;
   background-color: transparent;
}

.copyright p {
   margin: 0;
   color: #ccc !important;
}

html {
   overflow-x: hidden;
   overflow-y: auto;
}

@media (max-width: 992px) {
   html {
       font-size: 95%;
   }
   
   .grid-3, .grid-4 {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .hero-title {
       font-size: 2.8rem;
   }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
      .hero {
       margin-left: calc(-50vw + 50%);
       margin-right: calc(-50vw + 50%);
       padding: 4rem 0;
       width: 100vw;
   }
   
   .hero-content {
       max-width: none;
       padding: 0 1.5rem;
       margin: 0 auto;
   }
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .header-container {
        padding: 1rem 0;
    }
    
    .logo img {
        height: 50px;
    }

    /* Hide decorative elements on mobile to prevent overflow */
    .hero:before,
    .hero:after {
        display: none;
    }
    .container {
        width: 95%;
        padding: 0 20px; /* Increase mobile padding for better spacing */
    }
    /* ============================================================================
   MOBILE MENU FIX - ADD THIS TO YOUR CSS OR REPLACE NAVIGATION SECTION
   ============================================================================ */

/* Ensure nav toggle button is visible on mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block !important;
        z-index: 1002;
        position: relative;
        padding: 0.5rem;
        border-radius: 4px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark);
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background: rgba(109, 0, 26, 0.1);
        color: var(--primary);
    }

    /* Hide toggle when menu is open */
    .nav-toggle.hidden {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Mobile navigation panel */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding-top: 4rem;
        overflow-y: auto;
    }

    /* Show nav when active */
    nav.active {
        right: 0;
    }

    /* Close button */
    nav .nav-close {
        display: flex !important;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(109, 0, 26, 0.2);
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-size: 1.5rem;
        color: var(--dark);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    nav .nav-close:hover {
        background: rgba(109, 0, 26, 0.1);
        color: var(--primary);
        transform: scale(1.1);
    }

    /* Mobile nav list */
    nav ul {
        flex-direction: column;
        padding: 0 2rem;
        gap: 1.5rem;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(109, 0, 26, 0.1);
    }

    /* Overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

/* Desktop - keep nav visible and hide mobile elements */
@media (min-width: 769px) {
    .nav-toggle,
    .nav-close {
        display: none !important;
    }

    .overlay {
        display: none !important;
    }

    nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    nav ul {
        display: flex;
        list-style: none;
        gap: 2.5rem;
        padding: 0;
        margin: 0;
    }
}
/* ============================================================================
   COPY THIS ENTIRE BLOCK AND PASTE AT THE BOTTOM OF default.css
   ============================================================================ */

/* Mobile UX Fixes - Angie Web Studio */
@media (max-width: 768px) {
    /* Fix 1: Add bottom padding to header */
    header {
        padding-bottom: 0.5rem;
    }
    
    .header-container {
        padding: 1rem 0 1rem 0;
    }
    
    /* Fix 2: Remove gap on portfolio pages */
    .page-header {
        padding-top: 5rem;
        margin-top: 0 !important;
    }
    
    .page-header .container {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Fix 3: Ensure hero section starts cleanly */
    .hero {
        padding: 4rem 0;
        margin-top: 0 !important;
    }
    
    main > *:first-child {
        margin-top: 0 !important;
    }
}
    
}
