/* 
   Aquaplumb - Premium Stylesheet
   Fonts: Outfit for Headings, Inter for Body
*/

:root {
    /* Color Palette */
    --clr-primary: #005A9C; 
    --clr-primary-light: #0077CC;
    --clr-primary-dark: #003F6E;
    
    --clr-accent: #00C3FF; 
    --clr-accent-dark: #009CCC;
    
    --clr-text-main: #1F2937;
    --clr-text-muted: #4B5563;
    
    --clr-bg-main: #FFFFFF;
    --clr-bg-light: #F8FAFC;
    --clr-bg-dark: #0F172A;
    
    --clr-border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Transitions */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; 
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-bg-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.bg-primary {
    background-color: var(--clr-primary-dark);
    color: white;
}

.bg-primary h2, .bg-primary h3 {
    color: white;
}

.border-top {
    border-top: 1px solid var(--clr-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--clr-bg-dark);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

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

.top-bar-right {
    display: flex;
    gap: 1.5rem;
}

.top-bar-right a:hover {
    color: var(--clr-accent);
}

.top-bar-phone {
    font-weight: 600;
    color: var(--clr-accent);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.2rem 0;
}

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

.logo img {
    height: 55px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--clr-text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--clr-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--clr-bg-dark);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.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;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-container-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: white;
}

.badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--clr-accent);
}

.hero h1 {
    color: white;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 1.05rem;
}

.hero-feature::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent);
    border-radius: 50%;
}

.hero-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.hero-form-card h3 {
    font-size: 1.75rem;
    color: var(--clr-primary-dark);
    margin-bottom: 0.5rem;
}

.hero-form-card p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--clr-bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

/* Sections Base */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Lists */
.custom-list {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--clr-primary);
    border-radius: 50%;
}

.light-list li::before {
    background-color: var(--clr-accent);
}

/* Detailed Services */
.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail-row:last-child {
    margin-bottom: 0;
}

.service-detail-row.reverse .service-detail-content {
    order: 2;
}

.service-detail-row.reverse .service-detail-image {
    order: 1;
}

.service-detail-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 2rem;
    color: var(--clr-primary-dark);
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary-light);
}

.feature-box h4 {
    color: var(--clr-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Comparison Table */
.comparison-section {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--clr-border);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--clr-bg-dark);
}

.comparison-table .highlight-col {
    background-color: rgba(0, 90, 156, 0.05);
    color: var(--clr-primary-dark);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--clr-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--clr-bg-light);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--clr-text-muted);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
    padding: 4rem 2rem;
    border-radius: var(--border-radius-lg);
    color: white;
    margin-top: 3rem;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: rgba(255,255,255,0.9);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-info-list a {
    color: var(--clr-primary);
    font-weight: 600;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

/* Footer */
.footer {
    background-color: var(--clr-bg-dark);
    color: white;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.2rem;
    border-radius: 4px;
}

.footer-col p {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}

.footer-contact-info p {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: #9CA3AF;
}

.footer-col a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container-layout, .service-detail-row, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-row.reverse .service-detail-content {
        order: unset;
    }
    
    .service-detail-row.reverse .service-detail-image {
        order: unset;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile to save space */
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .comparison-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-form-wrapper {
        padding: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}
