/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #5D92BD;
    --primary-dark: #4A7A9F;
    --secondary-color: #ffffff;
    --text-dark: #333333;
    --text-light: #f8f9fa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Prevents sideways shifting */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- NAVBAR --- */
.navbar-wrapper {
    background: rgba(93, 146, 189, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(93, 146, 189, 0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease-in-out;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 130px; 
    transition: all 0.4s ease-in-out;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 90px; 
    width: auto;
    max-width: 350px;
    transition: all 0.4s ease-in-out;
}

.nav-links {
    display: flex;
    gap: 70px;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    transition: all 0.4s ease-in-out;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: #ffffff !important; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 1.1rem; 
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
    transition: all 0.4s ease-in-out;
}

.btn-nav {
    border: 2px solid white;
    padding: 14px 35px;
    border-radius: 50px;
    color: white !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

/* --- SHRINK EFFECT --- */
.navbar-shrink {
    background: rgba(93, 146, 189, 0.98); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.navbar-shrink .navbar {
    height: 70px; 
    padding: 0 40px;
}

.navbar-shrink .logo-img {
    height: 45px; 
}

.navbar-shrink .nav-links {
    gap: 30px; 
}

.navbar-shrink .nav-links a {
    font-size: 0.9rem; 
}

.navbar-shrink .btn-nav {
    padding: 8px 20px; 
    font-size: 0.85rem;
    border-width: 1px; 
}

/* --- HERO --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: var(--primary-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(93, 146, 189, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.slogan {
    font-size: 1.5rem !important;
    font-style: italic;
    font-family: var(--font-heading);
    color: #f0f8ff;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
}

.left-arrow { left: 20px; }
.right-arrow { right: 20px; }

/* --- SECTIONS --- */
.section-padding { padding: 80px 20px; }
.container { max-width: 1100px; margin: 0 auto; text-align: center; }
.bg-light { background: #fff; }
.bg-dark { background: var(--primary-color); color: white; }

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.bg-dark .section-title { color: white; }

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 30px auto;
}

.divider-white {
    width: 80px;
    height: 4px;
    background: white;
    margin: 0 auto 30px auto;
}

/* --- ABOUT --- */
.split-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.lead-text { font-size: 1.25rem; color: #444; margin-bottom: 20px; font-weight: 500; }
.sub-text { font-size: 1.1rem; color: #777; font-weight: 300; }

.shadow-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0px rgba(93, 146, 189, 0.15);
}

.text-start-md { text-align: left; }

.divider-start-md {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 0 30px 0;
}

/* --- SERVICES --- */
.grid-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.grid-item {
    background: #fff;
    padding: 40px 20px;
    border: 1px solid #eef2f5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    border-radius: 8px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.grid-item-link { flex: 1; display: flex; text-decoration: none; }

/* --- GALLERY --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #eee;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- COMPARISON --- */
.comparison-grid { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.comparison-item { display: flex; gap: 20px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.comparison-half { flex: 1; position: relative; }
.comparison-half img { width: 100%; height: 300px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; }

.label-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 20px;
}

/* --- FORM --- */
#quote { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); }
.contact-wrapper { display: flex; flex-direction: column; align-items: center; gap: 50px; margin-top: 40px; }
.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 80px; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 40px; }
.info-group { display: flex; flex-direction: column; align-items: center; text-align: center; }
.info-group h4 { margin-bottom: 10px; color: white; text-transform: uppercase; font-size: 1.1rem; }
.info-group p, .info-group a { color: #e6f0fa; font-weight: 300; }

.quote-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 650px; background: rgba(255, 255, 255, 0.1); padding: 40px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.3); }
.form-group { display: flex; flex-direction: column; text-align: left; }
.form-group label { font-size: 0.85rem; margin-bottom: 8px; color: #e6f0fa; font-weight: bold; }
input, textarea { padding: 15px; border-radius: 8px; background-color: rgba(255,255,255,0.2); color: white; font-family: inherit; border: 1px solid rgba(255,255,255,0.3); }

.btn-submit { background: white; color: var(--primary-color); border: none; padding: 16px; font-weight: bold; cursor: pointer; border-radius: 50px; }

footer { background: #34495e; color: #bdc3c7; padding: 30px 0; text-align: center; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .navbar {
        height: auto; 
        padding: 15px 20px;
        flex-direction: column; 
        gap: 15px;
    }
    
    .logo-img {
        height: auto;
        max-height: 60px;
        max-width: 80vw;
    }

    .nav-links {
        height: auto;
        display: flex; 
        gap: 15px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links a { font-size: 0.95rem; }

    .navbar-wrapper.navbar-shrink .navbar {
        flex-direction: row; 
        height: 70px;
        justify-content: space-between;
        padding: 0 20px;
    }

    .navbar-wrapper.navbar-shrink .nav-links li:not(:last-child) { display: none; }
    .navbar-wrapper.navbar-shrink .logo-img { max-height: 40px; }
    
    .grid-container { flex-direction: column; }
    .split-wrapper { flex-direction: column; text-align: center; }
    .text-start-md { text-align: center; }
    .divider-start-md { margin: 0 auto 30px auto; }
    .photo-grid { grid-template-columns: 1fr; }
    .comparison-item { flex-direction: column; }
    .comparison-half img { height: 250px; }
}