@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

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

:root{
    --font-family: "League Spartan", sans-serif;

    --white: hsl(0, 100%, 100%);
    --gray-500: hsl(0, 0%, 63%);
    --gray-800: hsl(0, 0%, 27%);
    --black: hsl(0, 0%, 0%);

    --fs-xl: clamp(1.3em, 2.5vw + 1em, 2.5em);
    --fs-lg: clamp(1em, 1.5vw + 1em, 2em);
    --fs-normal: clamp(0.95em, 1vw + 0.8em, 1.1em);

    --font-regular: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

body{
main {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
    font-family: var(--font-family);
    font-size: var(--fs-normal);
    line-height: 1.6;
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
.header {
    position: relative;
    background: #fff;
    z-index: 1000;
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    padding: 3rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
}

.logo {
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    margin-left: auto;
    order: 2;
}

.nav-toggle {
    background: none;
    border: none;
    color: var(--white);
    margin-right: auto;
    margin-left: 0.5rem;
    order: 1;
}

.nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    height: auto;
    background: var(--white);
    transition: top 0.3s ease;
    padding: 2rem 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.nav-menu.active {
    top: 0;
}

.nav-menu li {
    margin: 1rem 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: var(--fs-normal);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #666;
}

.nav-close {
    position: absolute;
    top: 2rem;
    left: 1rem;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #555;
}

/* Content Section */
.content {
    padding: 2rem 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.content h1 {
    font-size: var(--fs-xl);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content p {
    margin-bottom: 1.5rem;
    color: #666;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: var(--font-bold);
    transition: color 0.3s ease;
}

.cta-btn:hover {
    color: #666;
}

.cta-btn img {
    margin-left: 1rem;
    transition: margin-left 0.3s ease;
}

.cta-btn img:hover {
    margin-left: 1.5rem;
}

/* About Section */
.about {
    display: flex;
    flex-direction: column;
}

.about-img {
    height: 300px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 2rem 1rem;
}

.about-content h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-content p {
    color: #666;
    line-height: 1.6;
}

/* Tablet Styles */
@media (min-width: 48em) {
    .nav-toggle {
        display: none;
    }

    .nav {
        flex-direction: row;
        justify-content: flex-start;
        gap: 3rem;
        padding: 2rem;
    }

    .logo {
        margin-left: 0;
        margin-right: 2rem;
        order: 1;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        display: flex;
        padding: 0;
        box-shadow: none;
        top: 0;
        left: 0;
    }

    .nav-menu li {
        margin: 0 1rem;
    }

    .nav-menu a {
        color: #fff;
    }

    .nav-close {
        display: none;
    }

    .hero {
        height: 70vh;
    }

    .content {
        padding: 3rem 2rem;
        max-width: 900px;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .about {
        flex-direction: row;
    }

    .about-img {
        flex: 1;
        height: auto;
    }

    .about-content {
        flex: 1;
        padding: 3rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Desktop Styles */
@media (min-width: 75em) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 400px;
        flex: 1;
        box-sizing: border-box;
    }
    .logo{
        order: 1;
    }

    .nav-menu{
        order: 2;
    }

    .hero {
        height: 70vh;
        width: 70vw;
    }

    .content {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 1000px;
        z-index: 1;
    }

    .content h1 {
        font-size: var(--fs-xl);
        margin-bottom: 1.5rem;
    }

    .about {
        grid-column: 1 / -1;
    }

    .slider-controls {
        bottom: 0;
        right: 0;
    }

    .slider-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}