/* style.css - Design e Estilos Premium Revaqua */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0b2240;      /* Deep Navy Blue */
    --primary-light: #15345d;
    --secondary-color: #008FD5;    /* Revaqua Cyan/Blue */
    --accent-color: #00d2c4;       /* Aqua green */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --card-shadow: 0 10px 30px rgba(11, 34, 64, 0.06);
    --hover-shadow: 0 15px 35px rgba(11, 34, 64, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    background-color: #fcfdfe;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Navbar Premium styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}
.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}
.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 16px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 32px);
}
.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Buttons style */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 143, 213, 0.3);
}
.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}
.btn-dark:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(11,34,64,0.92) 0%, rgba(21,52,93,0.85) 100%), url('../img/pool_hero.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 140px 0 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #fcfdfe, transparent);
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.5px;
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 30px;
}

/* Glassmorphism details */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.glass-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

/* Service Tabs Section */
.service-tabs .nav-link {
    font-size: 1.1rem;
    padding: 15px 25px !important;
    border-radius: 10px 10px 0 0;
    border: none;
    background-color: var(--gray-100);
    margin-right: 5px;
    font-family: 'Outfit', sans-serif;
    color: var(--gray-600) !important;
}
.service-tabs .nav-link.active {
    background-color: var(--white) !important;
    color: var(--secondary-color) !important;
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.02);
}
.service-tab-content {
    background-color: var(--white);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
}

/* Info Cards */
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border-top: 4px solid transparent;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}
.feature-card.fc-blue { border-top-color: var(--secondary-color); }
.feature-card.fc-teal { border-top-color: var(--accent-color); }
.feature-card.fc-navy { border-top-color: var(--primary-color); }

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}
.icon-wrapper.bg-blue-soft {
    background-color: rgba(0, 143, 213, 0.1);
    color: var(--secondary-color);
}
.icon-wrapper.bg-teal-soft {
    background-color: rgba(0, 210, 196, 0.1);
    color: var(--accent-color);
}
.icon-wrapper.bg-navy-soft {
    background-color: rgba(11, 34, 64, 0.1);
    color: var(--primary-color);
}

/* Quote Request Form Styles */
.form-section {
    background: linear-gradient(135deg, #0b2240 0%, #15345d 100%);
    color: var(--white);
    padding: 80px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.form-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 210, 196, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.form-section h2, .form-section h3 {
    color: var(--white);
}
.form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.form-card .form-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--gray-300);
}
.form-card .form-control, .form-card .form-select {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 15px;
    transition: var(--transition);
}
.form-card .form-control:focus, .form-card .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 210, 196, 0.3);
    color: var(--white);
}
.form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-card .form-select option {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Store Styles */
.product-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    background-color: var(--white);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}
.product-img-wrapper {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: var(--gray-100);
}
.product-img-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.product-details {
    padding: 20px;
}

/* User Profile Sidebar & Dashboard */
.dashboard-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
}
.dashboard-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition);
}
.dashboard-menu-link:hover, .dashboard-menu-link.active {
    background-color: rgba(0, 143, 213, 0.08);
    color: var(--secondary-color);
}
.dashboard-menu-link i {
    font-size: 1.2rem;
    margin-right: 12px;
}

/* Admin Dashboard Elements */
.admin-card {
    border-left: 4px solid var(--secondary-color);
}
.admin-sidebar {
    background-color: var(--primary-color);
    color: var(--white);
    min-height: 100vh;
}
.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Project Gallery Carousel */
.project-gallery-wrapper {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.carousel-caption {
    background: rgba(11, 34, 64, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 15px 25px;
    bottom: 30px;
}

/* Map placeholder styles */
#map_canvas {
    height: 450px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    z-index: 1;
}

/* Footer Section */
footer {
    background-color: var(--primary-color);
    color: var(--gray-300);
    padding: 60px 0 30px 0;
    margin-top: auto;
}
footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
footer h5::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}
footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}
footer a:hover {
    color: var(--white);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 40px;
}
