@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Libre+Franklin:wght@300;400;500;600&display=swap');

/* Header Navigation - Template Guide Style */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(15, 14, 12, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color, #2A2622);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo .logo-title {
    margin: 0;
}

.header-logo .logo-title a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #FFB84D;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.header-logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-logo .logo-text {
    color: #F5F0E8;
    font-weight: 400;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A69F94;
    position: relative;
    padding: 8px 0;
    transition: color 0.4s ease;
}

.nav-link::before {
    content: '―';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF9900;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.nav-link:hover,
.nav-link.current {
    color: #FFB84D;
}

.nav-link:hover::before,
.nav-link.current::before {
    opacity: 1;
    left: -16px;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FF9900 0%, #CC7A00 100%);
    color: #0F0E0C;
    border: 1px solid #FFB84D;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Franklin', sans-serif;
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, #FFB84D 0%, #FF9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 1px solid #2A2622;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2001;
}

.mobile-menu-toggle:hover {
    border-color: #FF9900;
}

.mobile-menu-toggle.active {
    position: fixed;
    top: 20px;
    right: 20px;
    border-color: #FF9900;
    background: rgba(255, 153, 0, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 1.5px;
    background: #FFB84D;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #1A1815;
    z-index: 2000;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid #2A2622;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid #2A2622;
    color: #A69F94;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    border-color: #FF9900;
    color: #FFB84D;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-links li {
    border-bottom: 1px solid #2A2622;
}

.mobile-nav-links a {
    display: block;
    padding: 20px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #A69F94;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-links a::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    color: #FF9900;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #FFB84D;
    padding-left: 12px;
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-cta .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: #1A1815;
        z-index: 2000;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid #2A2622;
        overflow-y: auto;
        flex-direction: column;
        gap: 0;
        display: flex;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        border-bottom: 1px solid #2A2622;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 20px 0;
        font-family: 'Cormorant Garamond', serif;
        font-size: 24px;
        color: #A69F94;
        position: relative;
    }
    
    .nav-menu .nav-link::before {
        display: none;
    }
    
    .nav-menu .nav-link::after {
        content: '→';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        opacity: 0;
        color: #FF9900;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.current {
        color: #FFB84D;
        padding-left: 12px;
    }
    
    .nav-menu .nav-link:hover::after,
    .nav-menu .nav-link.current::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    
    .nav-item.nav-cta {
        border: none;
        margin-top: 20px;
    }
    
    .nav-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-logo .logo-title a {
        font-size: 20px;
    }
    
    .header-logo .logo-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    
    .site-header.scrolled {
        padding: 12px 0;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .header-logo .logo-title a {
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    
    .header-logo .logo-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .header-logo .logo-title a {
        font-size: 16px;
    }
    
    .header-logo .logo-icon {
        width: 24px;
        height: 24px;
    }
}

/* Buttons - AWS Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF9900 0%, #CC7A00 100%);
    color: #0F0E0C;
    border: 1px solid #FFB84D;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFB84D 0%, #FF9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.3);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}.6);
        font-size: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-footer a {
        color: #ff9900;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .mobile-menu-footer a:hover {
        color: #ffffff;
    }

    .footer-legal-mobile {
        margin-bottom: 0.5rem;
    }

    .legal-links-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.6rem;
    }

    .legal-links-mobile a {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-weight: 400;
        transition: color 0.2s ease;
    }

    .legal-links-mobile a:hover {
        color: #ff9900;
    }

    .separator {
        color: rgba(255, 255, 255, 0.3);
        font-size: 0.6rem;
    }

    .powered-by-mobile {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .powered-by-mobile a {
        color: #ff9900;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .powered-by-mobile a:hover {
        color: #ffffff;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 0.6rem 1.5rem;
        color: #d1d5db;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
        display: block;
    }

    .nav-menu a:hover {
        background: rgba(255, 153, 0, 0.1);
        color: #ff9900;
        transform: translateX(4px);
    }

    .nav-link.current {
        background: rgba(255, 153, 0, 0.15);
        color: #ff9900;
        font-weight: 600;
        border-left: 3px solid #ff9900;
    }

    .nav-link.current::after {
        display: none;
    }

    .nav-cta-btn {
        background: #ff9900;
        color: #ffffff;
        margin: 0.25rem 1rem 0.25rem;
        border-radius: 0.375rem;
        text-align: center;
        font-weight: 600;
        border-bottom: none;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        transition: all 0.2s ease;
    }

    .nav-cta-btn:hover {
        background: #e88b00;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        text-decoration: none;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .site-header.scrolled {
        padding: 0.3rem 0;
    }
    
    .header-content,
    .header-container {
        padding: 0 0.75rem;
    }

    .site-title a,
    .logo-text,
    .logo-title a {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        padding: 5rem 1.5rem 3rem;
        gap: 1.2rem;
    }

    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .nav-cta-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        text-decoration: none;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3),
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .site-header.scrolled {
        padding: 0.3rem 0;
    }
    
    .header-content,
    .header-container {
        padding: 0 0.75rem;
    }

    .site-title a,
    .logo-text,
    .logo-title a {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        padding: 5rem 1.5rem 3rem;
        gap: 1.2rem;
    }

    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .nav-cta-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

/* Loader Spinner */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#load {
  position: relative;
  width: 600px;
  height: 36px;
}

@media (max-width: 768px) {
  #load {
    width: 300px;
  }
}

#load div {
  position: absolute;
  width: 20px;
  height: 36px;
  opacity: 0;
  font-family: Helvetica, Arial, sans-serif;
  animation: move 2s linear infinite;
  transform: rotate(180deg);
  color: #ff9900;
  font-size: 24px;
  font-weight: bold;
}

#load div:nth-child(1) { animation-delay: 0s; }
#load div:nth-child(2) { animation-delay: 0.2s; }
#load div:nth-child(3) { animation-delay: 0.4s; }
#load div:nth-child(4) { animation-delay: 0.6s; }
#load div:nth-child(5) { animation-delay: 0.8s; }
#load div:nth-child(6) { animation-delay: 1s; }
#load div:nth-child(7) { animation-delay: 1.2s; }

@keyframes move {
  0% {
    left: 0;
    opacity: 0;
  }
  35% {
    left: 41%;
    transform: rotate(0deg);
    opacity: 1;
  }
  65% {
    left: 59%;
    transform: rotate(0deg);
    opacity: 1;
  }
  100% {
    left: 100%;
    transform: rotate(-180deg);
    opacity: 0;
  }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff9900, #FFB84D);
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s ease;
  width: 100%;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #ff9900;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}
