/* Setup & Variables */
:root {
    --color-navy: #001F3F;      /* Deep Navy */
    --color-ice-blue: #7DD1E3;  /* Ice Blue Accent */
    --color-ice-light: #E8F6FA; /* Soft ice background */
    --color-white: #FFFFFF;     
    --color-text: #2A3B4C;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Typography Basics */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism System */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 31, 63, 0.08);
}

.glass-card.dark-glass {
    background: rgba(0, 31, 63, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* ========================================= */
/* Hero Section                              */
/* ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-ice-light);
    background-image: url('hero_peak.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.3) 0%, rgba(125, 209, 227, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    width: 90%;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-navy), #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text);
}

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

/* ========================================= */
/* Features Section                          */
/* ========================================= */
.features {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--color-white), var(--color-ice-light));
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.12);
}

.feature-card .icon {
    color: var(--color-ice-blue);
    width: 54px;
    height: 54px;
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}

.feature-card:hover .icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.9;
}

/* ========================================= */
/* Detail Gallery                            */
/* ========================================= */
.gallery {
    padding: 8rem 0;
    background-color: var(--color-navy);
}

.section-title {
    text-align: center;
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    group: item;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 1.5rem;
    transform: translateY(10px);
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    color: var(--color-ice-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-caption p {
    font-size: 0.95rem;
    color: var(--color-white);
    font-weight: 300;
}

/* ========================================= */
/* Newsletter Section                        */
/* ========================================= */
.newsletter {
    padding: 8rem 0;
    background: url('hero_peak.png') center/cover fixed;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.newsletter-box {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
}

.newsletter-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-box p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

@media (min-width: 600px) {
    .input-group {
        flex-direction: row;
        background: var(--color-white);
        padding: 0.5rem;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
}

input[type="email"] {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-white);
    outline: none;
    transition: var(--transition-smooth);
}

@media (min-width: 600px) {
    input[type="email"] {
        border-color: transparent;
        background: transparent;
    }
}

input[type="email"]:focus {
    border-color: var(--color-ice-blue);
}

@media (min-width: 600px) {
    input[type="email"]:focus {
        border-color: transparent;
    }
}

button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 50px;
    background-color: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

button[type="submit"]:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.2);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"]:disabled {
    background-color: #667e99;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

button[type="submit"]:hover .btn-icon {
    transform: translateX(4px);
}

#form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

#form-message.success {
    background: rgba(125, 209, 227, 0.2);
    color: var(--color-navy);
}

#form-message.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================= */
/* Footer                                    */
/* ========================================= */
footer {
    background-color: var(--color-white);
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 31, 63, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: 1px;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-ice-blue);
}

.social-icons a {
    color: var(--color-navy);
    margin-left: 1.25rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.social-icons a:hover {
    color: var(--color-ice-blue);
    transform: translateY(-3px);
}
