/* ================================
   NUWR ATLANTIS - MAIN STYLES
   Light Color Scheme Implementation
   ================================ */

:root {
    /* Color Palette */
    --color-white: #ffffff;
    --color-red: #FF4444;
    --color-red-dark: #d63333;
    --color-black: #1a1a1a;
    --color-teal: #4db8a8;
    --color-teal-light: #6fcfc0;
    --color-teal-dark: #3a9688;
    --color-grey: #6b7280;
    --color-grey-light: #f3f4f6;
    --color-grey-dark: #4b5563;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Layout */
    --nav-height: 80px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ================================
   NAVIGATION
   ================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-teal);
    box-shadow: var(--shadow-md);
    height: var(--nav-height);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-black);
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--color-teal);
    letter-spacing: 0.3em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-teal);
    background: var(--color-grey-light);
}

.nav-links a.active {
    color: var(--color-teal);
    font-weight: 700;
}

.nav-auth {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.user-info {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
}

.user-info.active {
    display: flex;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-teal);
}

.user-name {
    font-weight: 600;
    color: var(--color-black);
}

.btn {
    padding: 0.7rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* Orange button for casual/non-commitment options */
.btn-orange {
    background: transparent !important;
    color: #ff8c00 !important;  /* Dark orange - professional and visible */
    border-color: #ff8c00 !important;
}

.btn-orange:hover {
    background: #ff8c00 !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Optional: Orange gradient version for extra visual appeal */
.btn-orange-gradient {
    background: transparent;
    color: #ff6600;
    border-color: #ff6600;
    border-width: 2px;
}

.btn-orange-gradient:hover {
    background: linear-gradient(135deg, #ff8c00, #ff6600);
    color: var(--color-white);
    border-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-teal);
    border-color: var(--color-teal);
}

.btn-outline:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--nav-height);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-grey-light) 50%, var(--color-white) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(77, 184, 168, 0.3), rgba(77, 184, 168, 0.05));
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 30%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 50%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 110px;
    height: 110px;
    left: 85%;
    animation-duration: 16s;
    animation-delay: 3s;
}

@keyframes rise {
    0% {
        bottom: -150px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110vh;
        opacity: 0;
        transform: translateX(100px) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1000px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-black);
}

.hero-title .highlight {
    color: var(--color-red);
}

.hero-title .highlight-teal {
    color: var(--color-teal);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-grey-dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.section-header .highlight {
    color: var(--color-red);
}

.section-header .highlight-teal {
    color: var(--color-teal);
}

.accent-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    margin: 0 auto;
}

.section-description {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    font-size: 1.2rem;
    color: var(--color-grey-dark);
    line-height: 1.8;
}

/* ================================
   CARDS
   ================================ */
.card {
    background: var(--color-white);
    border: 2px solid var(--color-grey-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

/* ================================
   FOOTER
   ================================ */
.main-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 3px solid var(--color-teal);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-display);
    color: var(--color-teal);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: var(--color-grey-light);
    line-height: 1.8;
}

.footer-section a {
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-teal);
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-grey-dark);
    color: var(--color-grey);
}

/* ================================
   UTILITY CLASSES
   ================================ */
.hidden {
    display: none !important;
}

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

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--nav-height));
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition);
        border-top: 3px solid var(--color-teal);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        background: var(--color-grey-light);
        border: 2px solid var(--color-teal);
    }
    
    /* On mobile, hide nav-auth from the top bar entirely —
       auth buttons are shown inside the hamburger dropdown instead */
    .nav-auth {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
}
