:root {
    --ocean-blue: #1e5f74;
    --sunset-gold: #f7b733;
    --sand: #fbe8c6;
    --dark-blue: #122c34;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--sand);
    color: var(--dark-blue);
    line-height: 1.6;
}

/* MODERN NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--white);
    color: var(--dark-blue);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-weight: 600;
}

nav .logo {
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--ocean-blue);
    transition: width 0.3s;
}

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

/* HERO IMAGE WITH OVERLAY */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.5s ease;
}

.hero-main:hover {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-overlay p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-overlay .buy-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--ocean-blue);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--sunset-gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* SUB HEROES */
.sub-heroes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
}

.sub-hero-card {
    flex: 1 1 300px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sub-hero-card img {
    width: 100%;
    display: block;
    border-radius: inherit;
}

.sub-hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* NEWSLETTER SECTION */
.newsletter {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

form input {
    flex: 1 1 250px;
    padding: 12px 15px;
    border-radius: 50px;
    border: 2px solid var(--ocean-blue);
    outline: none;
    transition: all 0.3s;
}

form input:focus {
    border-color: var(--sunset-gold);
    box-shadow: 0 4px 15px rgba(247, 183, 51, 0.4);
}

form button {
    margin-top: 15px;
}

.form-message {
    margin-top: 15px;
    font-weight: 700;
    color: var(--ocean-blue);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: var(--ocean-blue);
    color: var(--white);
}

/* FADE-IN EFFECT */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1s ease-out;
}

.sub-hero-card, .newsletter {
    opacity: 0;
    transform: translateY(40px);
}

/* MEDIA QUERIES */
@media(max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .sub-heroes {
        flex-direction: column;
        padding: 30px 10px;
    }
}


/* ABOUT PAGE MODERN STYLE */
.about-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.author-container {
    animation: fadeIn 1s ease-out;
}

.author-photo {
    width: 220px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    margin-bottom: 20px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--ocean-blue);
}

.about-section p {
    font-size: 1.15rem;
    line-height: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    padding: 0 10px;
}

/* Ensure mobile looks great */
@media (max-width: 600px) {
    .author-photo {
        width: 170px;
    }
}

.author-photo {
    max-width: 260px;   /* adjust as you like */
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.about-container h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.about-text {
    margin-top: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.about-text p {
    margin-bottom: 18px;
}

/* Header title without logo */
nav .logo {
    font-weight: 700;
    /* Responsive font size: min 20px, preferred 5vw, max 32px */
    font-size: clamp(20px, 5vw, 32px);
    display: inline-block;
}

/* Remove the logo image */
nav .logo img {
    display: none;
}

