/* KERIK CO. Clone Styles */

:root {
    --primary-red: #d70e17;
    --dark-bg: #1c2024;
    --light-bg: #f5f5f5;
    --text-dark: #222;
    --text-light: #fff;
    --text-gray: #666;
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Inter', sans-serif;
    --cursive-font: 'Alex Brush', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo-container {
    margin-bottom: 5px;
}

.site-logo {
    height: 60px;
    /* Larger logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-red);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: #000;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-red);
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    /* Rounded pill style */
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.call-btn:hover {
    background-color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 100px;
    position: relative;
    padding-bottom: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    margin-bottom: -30px;
    position: relative;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 7rem;
    color: white;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 3px;
    text-shadow: 2px 5px 25px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.hero-cursive {
    font-family: var(--cursive-font);
    font-size: 5rem;
    color: #fff;
    position: absolute;
    right: 25%;
    bottom: -45px;
    z-index: 3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-bottom-bar {
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 25px 0;
    z-index: 1;
}

.hero-bottom-bar h2 {
    font-family: var(--heading-font);
    color: var(--primary-red);
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Gallery Ribbon */
.gallery-ribbon {
    display: flex;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.gallery-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    filter: grayscale(20%);
}

.gallery-item:hover {
    flex: 1.5;
    filter: grayscale(0%) brightness(1.1);
}

/* Testimonial Section */
.testimonial {
    background-color: var(--dark-bg);
    padding: 100px 10%;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.testimonial-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.testimonial-left h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.testimonial-right {
    flex: 1.2;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: flex-end;
}

.testimonial-right p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 500px;
    font-style: italic;
    color: #ccc;
}

.arrow {
    cursor: pointer;
    font-size: 30px;
    color: #666;
    transition: all 0.3s;
}

.arrow:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

.dots {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #444;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--primary-red);
    transform: scale(1.5);
}

/* Service Blocks (Parallax) */
.service-block {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background-color 0.5s ease;
}

.service-block:hover .overlay {
    background-color: rgba(180, 20, 30, 0.35);
    /* Reddish tint on hover */
}

.service-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 850px;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-content h2 {
    font-family: var(--heading-font);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 0.9;
    margin-bottom: 25px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
}

.service-content h2 span {
    font-size: 4rem;
    display: block;
    font-weight: 400;
}

.service-content p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
}

.book-btn-link {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.book-btn-link:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-5px);
}

.right-align {
    text-align: right;
}

/* Customer First */
.customer-first {
    background-color: #fff;
    padding: 120px 0;
}

.cf-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 0 40px;
}

.cf-left {
    flex: 1;
    position: relative;
}

.cf-image-wrapper {
    position: relative;
    z-index: 2;
}

.cf-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cf-shadow {
    position: absolute;
    top: 50px;
    right: -40px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    z-index: -1;
}

.cf-right {
    flex: 0.8;
}

.cf-title {
    font-family: var(--heading-font);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.cf-subtitle {
    color: var(--primary-red);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.cf-right p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Divider image */
.image-divider {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 120px 0;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(28, 32, 36, 0.9);
    z-index: 1;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
}

.contact-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    color: var(--primary-red);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-desc {
    color: #bbb;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-form {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-row {
    display: flex;
    gap: 40px;
}

.half-width {
    flex: 1;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 12px 0;
    color: white;
    font-family: var(--body-font);
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s;
}

input::placeholder,
textarea::placeholder {
    color: #555;
}

input:focus,
textarea:focus {
    border-bottom: 2px solid var(--primary-red);
}

.form-submit-container {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background-color: #fff;
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-msg {
    margin-top: 25px;
    color: #4caf50;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: #fcfcfc;
    padding: 80px 0;
    text-align: center;
    color: var(--text-gray);
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-email {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-email:hover {
    color: #000;
}

.copyright {
    font-size: 1rem;
    letter-spacing: 1px;
}

.address {
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-bottom-bar h2 {
        font-size: 3rem;
    }

    .cf-container {
        gap: 50px;
    }

    .cf-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .cf-container {
        flex-direction: column;
        text-align: center;
    }

    .cf-shadow {
        top: 30px;
        right: 0;
        left: 30px;
    }

    .right-align {
        text-align: center;
    }

    .main-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-cursive {
        font-size: 3rem;
        right: 20%;
        bottom: -25px;
    }

    .hero-bottom-bar h2 {
        font-size: 2rem;
    }

    .gallery-ribbon {
        height: 250px;
    }

    .service-content h2 {
        font-size: 3.5rem;
    }

    .service-content h2 span {
        font-size: 2.5rem;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .testimonial-right {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .quote-form {
        padding: 30px;
    }

    .main-nav {
        display: none;
    }

    /* Mobile navbar logic would go here */
}