/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

:root{
  --blue-light: #6EC1E4;
  --blue-main: #050221;
  --blue-dark: #09154a;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--blue-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h2 {
    color: #fff;
}

/* Header logo */
header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

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

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--blue-light);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 50px;
    background-color: #fafafa;
    gap: 50px;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--blue-dark);
}

.hero-content p {
    margin: 20px 0;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--blue-light);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
    transform: scale(1);
}

.btn:hover {
    background-color: var(--blue-main);
    transform: scale(1.05);
}

.hero-image img {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

/* Collection Section */
.collection {
    padding: 80px 50px;
    text-align: center;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.3s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--blue-dark);
    color: var(--blue-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--blue-main);
    color: #fff;
}

/* Testimonial Section */
.testimonial {
    background-color: #f9f9f9;
    padding: 80px 50px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial .title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
}

.slide {
    display: none;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
}

.slide.active {
    display: block;
    opacity: 1;
    position: relative;
}

.slide h4 {
    margin-top: 15px;
    color: #ff4c00;
}

.controls button {
    background-color: var(--blue-light);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.controls button:hover {
    background-color: var(--blue-main);
}

/* FOOTER */
.footer{
  background: var(--blue-dark);
  color:white;
  padding:50px 20px 20px;
}

footer p{
  font-size:14px;
  color:#bbb;
  text-align: center;
  padding: 0.5rem 0;
}

/* CONTAINER */
.footer-container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  max-width:1100px;
  margin:auto;
}

/* BRAND */
.footer-brand{
  max-width:300px;
}

.footer-brand h2{
  margin-bottom:10px;
}

.footer-brand p{
  color:#bbb;
  font-size:14px;
}

/* LINKS */
.footer-links{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-col h3{
  margin-bottom:10px;
}

.footer-col a{
  text-decoration:none;
  color:#bbb;
  font-size:14px;
  transition:0.3s;
}

.footer-col a:hover{
  color:white;
}

/* SOCIAL */
.footer-social{
  text-align:center;
  margin-top:40px;
}

.social-icons{
  margin-top:10px;
  display:flex;
  justify-content:center;
  gap:15px;
  font-size:20px;
  cursor:pointer;
}

.social-icons i:hover {
  transform: scale(1.2);
}

.social-icons span:hover{
  transform:scale(1.2);
}

/* Newsletter section */
.newsletter {
    background-color: var(--blue-main);
    color: #fff;
    text-align: center;
    padding: 60px 30px;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter input[type="email"] {
    padding: 12px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 250px;
    max-width: 100%;
}

.newsletter button {
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--blue-light);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background-color: #f2f2f2;
}

/* Hamburger icon */
.hamburger span {
    background-color: #fff; /* white for dark header */
}

/* Hamburger base */
.hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
}


/* Responsive */
@media screen and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }

    .hero-image {
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {

    /* Hide normal nav */
    nav ul.nav-links {
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        background-color: var(--blue-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

    /* Show when active */
    nav ul.nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    nav ul.nav-links li a {
        color: #fff;
        font-size: 1rem;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
    }

    /* Header stays row (IMPORTANT) */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    /* Logo smaller on mobile */
    header .logo img {
        width: 40px;
        height: 40px;
    }

    header h2 {
        font-size: 1.2rem;
    }

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

    footer {
        text-align: center;
    }

    .footer-container {
        justify-content: center;
        align-items: center;
    }
}