/* AquaWomb Color Scheme
   Primary: Turquoise/Aqua (#00a8cc) - represents water
   Accent: Gold (#d4af37) - warmth, emotion, quality
   Supporting: Deep ocean (#006994), Light aqua (#e0f7fa), Soft gray (#f5f5f5)
*/

:root {
    --aqua-primary: #00a8cc;
    --aqua-dark: #006994;
    --aqua-light: #5dd5e8;
    --aqua-pale: #e0f7fa;
    --gold-primary: #d4af37;
    --gold-light: #f4e5c2;
    --gray-dark: #2c3e50;
    --gray-medium: #607d8b;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --text-dark: #263238;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--text-dark);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 168, 204, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-name {
    color: var(--aqua-primary);
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logofont {
    color: var(--gray-medium);
    font-size: 0.7rem;
    font-weight: normal;
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu a {
    color: var(--aqua-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.menu a:hover {
    color: var(--gold-primary);
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: width 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 5rem;
    height: 80vh;
    background: linear-gradient(rgba(0, 168, 204, 0.7), rgba(0, 105, 148, 0.7)), url('./icons/Title-background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-more {
    color: var(--gold-light);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.hero-more:hover {
    color: var(--gold-primary);
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--aqua-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
}

.section-text {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.card {
    text-align: center;
    background-color: var(--white);
    border-radius: 12px;
    color: inherit;
    transition: all 0.3s;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--aqua-pale);
    box-shadow: 0 4px 6px rgba(0, 168, 204, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 168, 204, 0.2);
    border-color: var(--gold-primary);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: var(--gray-light);
}

.card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--aqua-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.card-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Alternating Section Backgrounds */
.alternate {
    background-color: var(--aqua-pale);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--aqua-dark), var(--aqua-primary));
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* Logo Image */
header .logoimg img {
    width: 2.5cm;
    height: auto;
}

/* Overlay styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 41, 58, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.overlay-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 3rem;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--gold-primary);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-medium);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.close-btn:hover {
    background-color: var(--gold-light);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-right: 3rem;
    color: var(--aqua-primary);
}

.overlay-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.overlay-content strong {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--aqua-dark);
}

.overlay-content em {
    color: var(--gray-dark);
    font-style: italic;
}

.overlay-content a {
    color: var(--aqua-primary);
    text-decoration: none;
}

.overlay-content a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        margin-top: 4rem;
    }

    .overlay-content {
        margin: 2% auto;
        width: 95%;
        padding: 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    header .logoimg img {
        width: 2cm;
    }
}