/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

* {
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    color: black;
    overflow-x: hidden;
}

h1{
    font-size: 4rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    color: black;
}

a.btn {
    font-size: 1.2rem;
    display: inline-block;
    padding: 10px 20px;
    background: black;
    color: #F6EEE4;
    /* border: 3px solid #7A9DA6; */
    border-radius: 8px;
    transition: background 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}
a.btn:hover {
    background: #7A9DA6;
    color: black;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Header */
/* header {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6eee4e6;
    color: black;
    padding: 0.5rem 2rem;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.logo {
    height: 60px;
    width: auto;
    top: 5px;
}

nav a img.logo {
    display: block;
}

/* .language-switch {
    margin-left: 20px;
} */

.language-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: black;
    transition: color 0.3s ease;
}

.language-switch button:hover {
    color: #005f8a;
}

nav {
    display: flex;
}

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

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #005f8a;
}

nav ul li a.active {
    color: #005f8a;
    font-weight: bold;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}


/* Dropdown styles */
.dropdown-parent {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #F6EEE4;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    padding: 0.5rem 1rem;
    display: block;
    color: black;
    font-weight: normal;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.dropdown a:hover {
    color: #005f8a;
    font-weight: bold;
}
.dropdown-parent:hover .dropdown {
    display: flex;
}

.dropdown-parent.open .dropdown {
    display: flex;
    position: relative; /* So it flows in the mobile menu */
    box-shadow: none;
}


/* Home Section */
.hero {
    /* background: url('https://images.unsplash.com/photo-1484039076394-537ae8a4c115?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat; */
    background: url('Images/home-1.jpg');
    background-size: cover;
    background-position: center 10%; /* Shifts the image vertically */
    height: 90vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    padding: 20px;
}

.hero p {
    font-size: 1.5rem;
}

.wave-divider {
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    line-height: 0;
    background: #7A9DA6;
    /* background: transparent; */
}

.wave-divider svg {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-divider.reverse {
    background: #F6EEE4
}
/* .wave-divider svg path {
    animation: waveFloat 10s ease-in-out infinite;
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
} */


.welcome {
    /* background-image: url("https://cdn.cosmos.so/234c50c1-5dc1-4ab6-a6e5-8f90a02c8d6e?format=jpeg"); */  
    background-image: url('Images/welcome-6.jpg');
    background-size: cover;
    background-position: center 10%; /* Shifts the image vertically */
    position: relative;
    padding: 6rem 2rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 400px;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(246, 238, 228, 0.18);  */
    z-index: 1;
}

.welcome-text {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding: 2rem;
    color: #F6EEE4;
}

.welcome-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* Features Section */
.features {
    text-align: center;
    padding: 50px 20px;
    background: #f6eee4e6;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
/* .features {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background: #ecf0f1;
} */

.feature-box {
    padding: 20px 40px;
    /* background: white; */
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.feature-box h3 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.feature-box img {
    height: 50px;
    width: auto;
}

.carousel {
    /* display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 70vh;
    overflow: hidden;
    background-color: black; */

    position: relative;
    background-color: black;
    width: 100%;
    overflow: hidden;
}
  
.carousel-container {
    display: flex;
    /* width: 300%;  */
    /* 2 real + 1 clone = 3 slides */
    /* height: 100%; */
    /* width: 100%; */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}
  
.carousel-slide {
    /* flex: 0 0 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; */
    /* previous version! ^ */
    
    flex: 0 0 100vw;
    display: flex;
    flex-direction: column;
    /* box-sizing: border-box; */
}
  
.carousel-slide.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
    z-index: 1;
}

.carousel-main {
    display: flex;
    width: 100%;
    height: 60vh;
}
  
/* LEFT IMAGE SECTION */
.carousel-slide img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    /* width: 100%;
    height: 40vh; */
}
  
  /* RIGHT TEXT SECTION */
.carousel-content {
    width: 50%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    background-color: black;
}
  
.carousel-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
  
.carousel-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
  
.carousel-content a {
    display: inline-block;
    /* background-color: #005f8a; */
    background-color: black;
    color: white;
    border: 3px solid #7A9DA6;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.carousel-content a:hover {
    background-color: #7A9DA6;
    color: black;
}
  
/* .carousel-next {
    position: absolute;
    bottom: 20px;
    left: 50%;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
} */

.carousel-dots {
    /* position: absolute;
    top: calc(60vh + 10px); 
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 -10px;
    z-index: 10; */

    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
}

.carousel-dots .dot {
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-dots .dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-models {
    background-color: black;
    color: white;
    width: 100%;
    padding: 20px 50px 5%;
    text-align: center;
}
  
.carousel-models h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
}
  
.model-options {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
}
  
.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* max-width: 120px; */
}
  
.model-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.model-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
  
.model-item p {
    font-size: 1rem;
    color: white;
    text-align: center;
}

/* Paddleboards Page */

.paddle-hero {
    position: relative;
    background: url('Images/paddleboards-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #F6EEE4;
}

.paddle-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* adjust opacity */
    z-index: 1;
}

.paddle-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    max-width: 700px;
}
  
.paddle-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding: 10px;
}

.paddle-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 10px;
}
  
.paddle-filter {
    text-align: center;
    padding: 30px;
    background: white;
}
  
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}
  
.filters select {
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #7A9DA6;
    border-radius: 8px;
}
  
.paddle-products {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    padding: 40px;
}
  
.board-card {
    flex: 1 1 300px;
    max-width: 300px;
    box-sizing: border-box;
    background: #fff;
    padding: 25px;
    border: 1px solid #ccc;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
}
.board-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
  
.board-card h3 {
    margin-bottom: 1rem;
}
  
.board-card ul {
    text-align: left;
    padding-left: 0;
    list-style: none;
}
  
.board-card a.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: black;
    border: 3px solid #7A9DA6;
    border-radius: 8px;
    transition: background 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}
.board-card a.btn:hover {
    background: #7A9DA6;
    color: black;
}

.feature-ratings {
    margin-top: 1rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-stars span.stars {
    color: #F5B301; /* golden star color */
    letter-spacing: 2px;
    font-size: 1.1rem;
}


.paddle-types {
    /* padding: 60px 20px; */
    text-align: center;
    /* background: #f5f5f5; */
    background: white
}
  
.paddle-types h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    padding: 10px;
}
  
.type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
}
  
.type-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    /* font-weight: bold; */
    font-size: 1.2rem;
    text-align: center;
    min-height: 250px;
    height: 100%;
}
  
.type-box.text {
    background-color: #F6EEE4;
    flex-direction: column;
    color: black;
    margin-bottom: 20px;
}
  
.type-box.text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
  
.type-box.img {
    background-size: cover;
    background-position: center;
    min-height: 300px;
}
  
.paddle-features {
    background: white;
    padding: 80px 40px;
    text-align: center;
}
  
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}
  
.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    background-color: #F6EEE4;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Kayaks Page */

.kayaks-hero {
    position: relative;
    background: url('Images/kayaks-hero.JPG');
    background-size: cover;
    background-position: center 55%; 
    /* background-position: center 70%; */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #F6EEE4;
}

.kayaks-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* adjust opacity */
    z-index: 1;
}

.kayaks-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    max-width: 700px;
}
  
.kayaks-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kayaks-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    
}
  
/* Product Page Section */
.product-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
  
.product-images {
    flex: 1;
    min-width: 300px;
}
.product-images img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.main-image-wrapper {
    position: relative;
    display: inline-block;
}

.next-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.next-btn:hover {
    background: rgba(0,0,0,0.7);
}

.thumbnail-row {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    overflow-y: hidden;
    overflow-x: auto;
}
.thumbnail-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.thumbnail-row img:hover {
    transform: scale(1.05);
}
  
.product-details {
    flex: 1;
    /* min-width: 300px; */
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
    padding-left: 10px;
}
.product-details h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
/* .price {
    font-size: 1.5rem;
    font-weight: bold;
    
    margin-bottom: 20px;
} */
.old-price {
  color: #888;
  text-decoration: line-through;
  margin-right: 0.5em;
  font-size: 1.3rem;
}
.new-price {
  color: #005f8a;
  font-weight: bold;
  font-size: 1.5em;
}
.description {
    margin-bottom: 20px;
}
.feature-list {
    margin-bottom: 30px;
    list-style: disc;
    padding-left: 20px;
}
/* .cta-button {
    padding: 12px 24px;
    border: 3px solid #7A9DA6;
    background: white;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color: #7A9DA6;
} */
  
  
.overview {
    flex: 0 0 100vw;
    display: flex;
    flex-direction: row;
}
.overview img {
    width: 50%;
    /* height: 100%; */
    object-fit: cover;
    height: 60vh;
}
.overview-content {
    width: 50%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: black;
    background-color: #F6EEE4;
}
  
.overview-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
  
.overview-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
  
.overview-content a {
    display: inline-block;
    /* background-color: #005f8a; */
    background-color: #F6EEE4;
    color: black;
    border: 3px solid #7A9DA6;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.overview-content a:hover {
    background-color: #7A9DA6;
    color: black;
}
  
.specs {
    padding: 50px 20px;
}
.specs h2 {
    text-align: center;
    margin-bottom: 20px;
}
.specs table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 600px;
}
.specs th, .specs td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
  
.customization {
    padding: 60px 20px;
    text-align: center;
    background-color: white;
    /* background-color: #F6EEE4; */
}
.customization p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.wood-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.wood-option {
    width: 100px;
    height: 100px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    overflow: hidden; /* Clip the image to the circle */
    background: none; /* No background image anymore */
}

.wood-option img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.wood-option.selected {
    outline: 3px solid #0077b6;
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: #005f8a;
    font-weight: bold;
}
.wood-option.cedro { background: url('Images/madera-1.jpg'); }
.wood-option.amaranto { background: url('Images/madera-3.jpg'); }
.wood-option.louppe { background: url('Images/madera-4.jpg'); }
.wood-option.bambu { background: url('Images/madera-8.jpg'); }
.wood-option.mongoy { background: url('Images/madera-11.jpg'); }

  
  
/* .photo-grid {
    padding: 40px 20px;
    background-color: #f9f9f9;
} */
  
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
  
.grid-item {
    aspect-ratio: 1 / 1; /* Makes the grid square */
    overflow: hidden;
}
  
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
  
.grid-item img:hover {
    transform: scale(1.05);
}

/* Contact Page */

.contact-page {
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}
  
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}
  
.contact-intro h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
  
.contact-form-section {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
}
  
.contact-form label {
    display: flex;
    margin-bottom: 6px;
    font-weight: bold;
}
  
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start; /* Align top of checkbox with start of text */
    gap: 10px;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 2px; 
    accent-color: #7A9DA6;
    transform: scale(1.2); 
    width: auto;
}

.consent-checkbox span {
    color: #333;
    font-size: 0.75rem;
    font-weight: normal;
}

.consent-checkbox a {
    color: #005f8a;
    text-decoration: underline;
}

.consent-checkbox a:hover {
    text-decoration: none;
}
  
.contact-form .btn {
    /* background-color: #0077b6;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px; */

    background-color: #f8f8f8;
    color: black;
    border: 3px solid #7A9DA6;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}
  
.contact-form .btn:hover {
    background-color: #7A9DA6;
    color: black;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
  

/* Footer */
footer {
    background-color: #7A9DA6;
    color: black;
    text-align: center;
    /* padding: 15px 0; */
}

.footer-wave {
    position: relative;
    height: 100px;
    overflow: hidden;
    background-color: #7A9DA6;
    /* background-color: #F6EEE4; */
}

.wave-layer {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 400%; */
    width: 2400px; /* 2 full wave cycles */
    height: 100%;
    animation: moveWave 10s linear infinite;
}

.wave1 {
    /* fill: #F6EEE4; */
    /* fill: #7A9DA6; */
    fill: #C9DCF4;
    opacity: 1;
    z-index: 3;
    animation-duration: 8s;
}

.wave2 {
    fill: #809AB2;
    opacity: 0.7;
    z-index: 2;
    animation-duration: 10s;
    /* animation-direction: reverse; */
}

.wave3 {
    fill: #A1C7D6;
    opacity: 0.5;
    z-index: 1;
    animation-duration: 12s;
}

@keyframes moveWave {
    0% {
        transform: translateX(0);
    }
    /* 50% {
        transform: translateX(-25%);
    } */
    100% {
        /* transform: translateX(-50%); */
        transform: translateX(-600px);
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.footer-content div {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footer-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #0077b6;
}

.footer-bottom {
    margin-top: 20px;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.social-links img{
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

/* .filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.filters select, .sort select {
    padding: 8px;
    margin-right: 10px;
} */

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0; /* Ensure hidden before trigger */
}

/* @media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }
} */

@media (max-width: 868px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
    }

    .dropdown {
        /* background: none; */
        padding-left: 1rem;
    }

    .dropdown-toggle {
        display: inline-block;
        cursor: pointer;
        margin-left: 8px;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {  

    h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .welcome {
        padding: 4rem 1rem;
        height: 350px;
        text-align: left;
    }

    .welcome-text h2 {
        font-size: 1.6rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    /* .carousel {
        height: 80vh;
    } */
    
    .carousel-slide {
        flex-direction: column;
        padding-bottom: 30px;
    }
    
    .carousel-main {
        flex-direction: column;
        /* height: 70vh; */
        height: auto;
    }

    .carousel-slide img {
        width: 100%;
        height: 40vh;
        object-fit: cover;
        /* object-fit: cover;
        position: relative;
        height: auto; */
    }
    
    /* .carousel-content {
        width: 90%;
        height: 60%;
        padding: 5%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    } */

    .carousel-content {
        width: 100%;
        padding: 20px;
        /* height: auto; */
        text-align: center;
        align-items: center;
    }
    
    .carousel-content h2 {
        font-size: 1.6rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    /* .carousel-next {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
    }

    .carousel-dots {
        top: calc(100% - 225vh);
        position: absolute;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        z-index: 5;
    } */

    .carousel-models {
        padding: 40px 10px;
    }

    .carousel-models h2 {
        margin-top: 20px;
    }

    .model-options {
        flex-direction: column;
        gap: 30px;
    }

    .model-item img {
        height: auto;
    }

    .type-grid {
        grid-template-columns: 1fr;
    }

    .type-box {
        min-height: 200px;
    }

    .paddle-hero {
        height: auto;
        padding: 40px 20px;
    }

    .paddle-hero-content {
        padding: 40px 20px;
    }

    .paddle-hero h1 {
        font-size: 2rem;
    }

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

    .paddle-products {
        padding: 20px;
    }

    .board-card {
        padding: 20px;
    }

    .kayaks-hero {
        height: auto;
        padding: 40px 20px;
    }

    .kayaks-hero-content {
        padding: 40px 20px;
    }

    .kayaks-hero h1 {
        font-size: 2rem;
    }

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

    .product-hero {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    .product-images {
        width: 100%;
        min-width: 200px;
    }

    .product-images img {
        max-width: 100%;
    }

    /* #mainImage {
        width: 100%;
        height: auto;
    } */

    .product-details {
        width: 100%;
        max-height: none;
        overflow-y: visible;
        padding: 0;
    }

    .next-btn {
        width: 30px;
        height: 30px;
    }

    .thumbnail-row {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .thumbnail-row img {
        scroll-snap-align: start;
    }

    .wood-options {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        max-width: 600px;
        margin: 15px auto 20px;
    }

    .overview {
        /* flex: 0 0 100vw;
        display: flex; */
        flex-direction: column;
    }
    .overview img {
        width: 100%;
        height: auto;
    }
    .overview-content {
        width: 100%;
        padding: 30px;
        /* text-align: center; */
    }

    .specs table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-container {
      grid-template-columns: 1fr;
    }

    .carousel-main {
        height: auto;
    }

    .carousel-dots {
        top: calc(100% - 238vh);
    }
}
