/* 
   AquaLux - Premium Pool Design Website
   Theme: Water, Luxury, Clean, Modern
*/

:root {
    --primary-color: #42c9f0; /* Ocean Blue */
    --dark-color: #211e53;
    --secondary-color: #338bc6 ; /* Light Blue */
    --accent-color: #338bc6 ; /* Aqua */
    --dark-bg: #211e53; /* Deep Navy */
    --text-color: #333;
    --light-text: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 20px;
    --transition-speed: 0.4s;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

p {
    color: #415c79;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #fdfdfd;
    overflow-x: hidden;
}

h2 {
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    cursor: pointer;
    display: block;
    padding: 14px 32px;
    border: 0;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.4);
}

.btn-contact {
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: white;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: white;
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.459);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo a {
    color: var(--primary-color);
}

header.scrolled .desktop-nav a {
    color: #fff;
}

header.scrolled .btn-contact {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

header.scrolled .btn-contact:hover {
    background: var(--primary-color);
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.desktop-nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

.desktop-nav a:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

/* Projects Section */
.projects-section {
    overflow: hidden;
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header h2 {
    font-size: 3rem;
    color: #000;
}

.section-header p {
    font-size: 1.1rem;
}

.projects-swiper {
    padding: 20px 10px 60px 10px;
    overflow: visible;
}

.project-card {
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: 750px;
    transition: transform 0.3s ease;
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.card-text {
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.project-card:hover .card-text {
    transform: translateY(0);
}

.card-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col i {
    width: 20px;
    color: var(--accent-color);
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}



.swiper-slide .swiper-slide-size {
    width: fit-content!important;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.feature-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col i {
    width: 20px;
    color: var(--accent-color);
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}



@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .project-card {
        height: 80vh;
    }
}

.swiper-slide .swiper-slide-size {
    width: fit-content!important;
}

.product-details__sizes-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.js-product-sizes-swiper {
    margin-bottom: 3rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #fdfdfd;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 1.4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 12px;
    color: white;
    font-size: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.contact-card p {
    line-height: 1.4;
    margin-bottom: 5px;
}

.contact-socials-wrapper {
    text-align: center;
}

.contact-socials-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-socials {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 20px;
}

.contact-socials a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-socials-footer {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 20px;
}

.contact-socials-footer a {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-socials-footer i {
    margin: 0;
    width: fit-content;
    font-size: 1rem;
}

.contact-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(66, 201, 240, 0.3);
}

.swiper-slide-main-banner {
    width: 100%!important;
    height: 100vh!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    text-align: center!important;
}

.w-100 {
    width: 100%;
}
.swiper-wrapper-sizes {
    align-items: end!important;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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