/* ============================================
   KAMOWRAPS - Premium Vinyl Wraps & Tinting
   Modern Black & White Theme
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --dark-gray: #111111;
    --light-gray: #f5f5f5;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--black);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-phone:hover {
    opacity: 0.8;
}

.phone-icon {
    font-size: 1.2rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    color: var(--white);
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.phone-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-contact {
        display: none;
    }

    .nav-contact.mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.hero-social-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-social-link svg {
    width: 20px;
    height: 20px;
}

.hero-social-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }

/* Hero Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-social {
        flex-direction: column;
        gap: 15px;
    }

    .loading-logo {
        max-width: 150px;
        max-height: 150px;
    }

    .nav-logo {
        height: 40px;
    }

    .footer-logo {
        max-width: 150px;
    }
}

/* ============================================
   IMAGE CAROUSEL
   ============================================ */

.carousel-section {
    padding: 80px 0;
    background-color: var(--black);
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 300px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ============================================
   VIDEO SECTIONS
   ============================================ */

.video-section {
    padding: 100px 0;
    background-color: var(--white);
}

.video-section-alt {
    background-color: var(--light-gray);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--dark-gray);
    border: 3px solid var(--black);
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.video-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.video-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

@media (max-width: 968px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .video-section-alt .video-container {
        grid-template-columns: 1fr;
    }

    .video-section-alt .video-wrapper {
        order: 2;
    }

    .video-section-alt .video-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .video-player {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-content .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        padding-bottom: 56.25%;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-category {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-description:last-of-type {
    margin-bottom: 30px;
}

.tint-simulator-container {
    margin-bottom: 40px;
    padding: 40px 20px;
    background-color: var(--light-gray);
    border: 3px solid var(--black);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tint-simulator-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.tint-preview-header {
    text-align: center;
    margin-bottom: 40px;
}

.preview-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.preview-subtitle {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 400;
}

.preview-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    justify-items: center;
}

.preview-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.glass-preview-box {
    width: 100%;
    max-width: 500px;
    height: 250px;
    background-color: #f2f2f2;
    border-radius: 12px;
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.glass-preview-box:hover {
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.1),
        0 6px 30px rgba(255, 255, 255, 0.3);
}

.tint-overlay-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.tint-overlay-preview.active {
    opacity: 1;
}

.tint-overlay-preview.tint-5 {
    background-color: rgba(0, 0, 0, 0.95);
}

.tint-overlay-preview.tint-10 {
    background-color: rgba(0, 0, 0, 0.9);
}

.tint-overlay-preview.tint-15 {
    background-color: rgba(0, 0, 0, 0.85);
}

.tint-overlay-preview.tint-20 {
    background-color: rgba(0, 0, 0, 0.8);
}

.tint-overlay-preview.tint-35 {
    background-color: rgba(0, 0, 0, 0.65);
}

.tint-overlay-preview.tint-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.tint-overlay-preview.tint-70 {
    background-color: rgba(0, 0, 0, 0.3);
}

.preview-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.tint-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.control-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.tint-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tint-btn {
    padding: 12px 20px;
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 60px;
}

.tint-btn:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
}

.tint-btn.active {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--black);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.selected-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
    text-align: center;
}

.selected-text span {
    font-weight: 700;
    color: var(--black);
}

@media (max-width: 768px) {
    .preview-boxes {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .glass-preview-box {
        max-width: 100%;
        height: 200px;
    }

    .tint-controls {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tint-btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-width: 70px;
    }

    .control-group-title {
        font-size: 1.1rem;
    }

    .preview-title {
        font-size: 1.5rem;
    }
}

.tint-percentage-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 15px 30px;
    background-color: var(--white);
    border: 3px solid var(--black);
    min-width: 250px;
    text-align: center;
}

.tint-options {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 40px 20px;
    background-color: var(--light-gray);
    border: 3px solid var(--black);
    border-radius: 0;
}

.tint-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--white);
    border: 3px solid var(--black);
    transition: var(--transition);
    cursor: pointer;
    min-width: 120px;
}

.tint-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--black);
}

.tint-option:hover span {
    color: var(--white);
}

.tint-option.active {
    background-color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tint-option.active span {
    color: var(--white);
}

.tint-option span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tint-visual {
    width: 100px;
    height: 150px;
    border: 3px solid var(--black);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.tint-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.tint-visual:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.tint-option:hover .tint-visual {
    border-color: var(--white);
}

.tint-5 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.90) 50%, rgba(0,0,0,0.95) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.tint-10 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.90) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.45);
}

.tint-15 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.80) 50%, rgba(0,0,0,0.85) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

.tint-20 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.80) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.35);
}

.tint-35 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.60) 50%, rgba(0,0,0,0.65) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.25);
}

.tint-50 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.5) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.tint-70 { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.30) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}

.service-note {
    text-align: center;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    padding: 15px;
    background-color: var(--white);
    border: 2px solid var(--black);
    display: inline-block;
    margin-top: 10px;
}

.pricing-examples {
    margin: 30px 0;
    padding: 30px;
    background-color: var(--white);
    border: 2px solid var(--black);
}

.pricing-note {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--light-gray);
    border: 2px solid var(--black);
    text-align: center;
    gap: 8px;
}

.pricing-service {
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    font-weight: 700;
    color: var(--black);
    font-size: 1.1rem;
}

.pricing-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-examples {
        padding: 20px;
    }
}

.wrap-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.wrap-type-card {
    background-color: var(--light-gray);
    padding: 40px 20px;
    text-align: center;
    border: 2px solid var(--black);
    transition: var(--transition);
    cursor: pointer;
}

.wrap-type-card:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wrap-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    color: var(--black);
    transition: var(--transition);
}

.wrap-type-card:hover .wrap-icon {
    color: var(--white);
    transform: scale(1.1);
}

.wrap-type-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.color-sample-card {
    text-align: center;
    transition: var(--transition);
}

.color-sample-card:hover {
    transform: translateY(-5px);
}

.color-sample {
    aspect-ratio: 1;
    border: 3px solid var(--black);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 15px;
    border-radius: 4px;
}

.color-sample:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.color-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.color-sample:hover .color-shine {
    left: 100%;
}

.color-shine.satin {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.color-shine.matte {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.color-sample-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
}

.color-sample-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .tint-options {
        gap: 15px;
    }

    .tint-options {
        padding: 30px 15px;
        gap: 15px;
    }

    .tint-option {
        min-width: 100px;
        padding: 15px;
    }

    .tint-visual {
        width: 80px;
        height: 120px;
    }

    .tint-option span {
        font-size: 1rem;
    }

    .wrap-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ABOUT US SECTION
   ============================================ */

.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    width: 100%;
    overflow: hidden;
    border: 3px solid var(--black);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .about {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .about-image {
        border-width: 2px;
    }
}

/* ============================================
   BEFORE & AFTER SECTION
   ============================================ */

.before-after {
    padding: 100px 0;
    background-color: var(--white);
}

.comparison-sliders {
    display: grid;
    gap: 60px;
}

.comparison-slider {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.comparison-slider.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-showcase-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 3px solid var(--black);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--black);
}

.video-showcase {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 3px solid var(--black);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--black);
}

.comparison-video-before,
.comparison-video-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-img-before,
.comparison-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width 0.3s ease;
}

.comparison-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--white);
    z-index: 15;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.comparison-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 3px solid var(--black);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.comparison-handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--white);
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(10px);
    border: 2px solid var(--white);
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

@media (max-width: 768px) {
    .comparison-sliders {
        gap: 40px;
    }

    .video-showcase-container {
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .video-showcase {
        width: 100%;
        height: 100%;
    }

    .comparison-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .video-showcase-container {
        border-width: 2px;
    }

    .comparison-container {
        border-width: 2px;
    }

    .comparison-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    background-color: var(--black);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 0.8;
}

.contact-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.contact-social-btn {
    padding: 15px 30px;
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.contact-social-btn svg {
    width: 20px;
    height: 20px;
}

.contact-social-btn:hover {
    background-color: transparent;
    color: var(--white);
}

.map-placeholder {
    background-color: var(--dark-gray);
    border: 3px solid var(--white);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.map-note {
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   MODAL (QUOTE FORM)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid var(--black);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--black);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-gray);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.modal-content .btn {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   FAQ CHATBOT
   ============================================ */

.chatbot {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1500;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    color: var(--white);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--black);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background-color: var(--white);
    border: 3px solid var(--black);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
    background-color: var(--light-gray);
}

.chatbot-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.chatbot-message.bot {
    background-color: var(--white);
    border: 2px solid var(--black);
    align-self: flex-start;
}

.chatbot-message.user {
    background-color: var(--black);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-message p {
    margin: 0;
    font-size: 0.95rem;
}

.chatbot-quick-questions {
    padding: 15px;
    background-color: var(--white);
    border-top: 2px solid var(--black);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-question {
    padding: 10px 15px;
    background-color: var(--light-gray);
    border: 2px solid var(--black);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.quick-question:hover {
    background-color: var(--black);
    color: var(--white);
}

@media (max-width: 768px) {
    .chatbot {
        bottom: 90px;
        right: 15px;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }

    .chatbot-window {
        width: calc(100vw - 30px);
        max-width: 350px;
        bottom: 70px;
    }
}

/* ============================================
   iOS STYLE BOTTOM NAVIGATION
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 2px solid var(--black);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: var(--transition);
    padding: 8px 15px;
    flex: 1;
    gap: 5px;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.bottom-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

.bottom-nav-item.active {
    color: var(--black);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--black);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

/* ============================================
   IMAGE GALLERY
   ============================================ */

.image-gallery {
    margin-top: 60px;
    padding: 40px 0;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 3px solid var(--black);
    background-color: var(--black);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   VIDEO GALLERY SECTION
   ============================================ */

.video-gallery-section {
    margin-top: 60px;
    padding: 40px 0;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.video-gallery-item {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--black);
    background-color: var(--black);
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.video-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: var(--black);
    cursor: pointer;
}

.gallery-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-video:focus {
    outline: 2px solid var(--white);
    outline-offset: -2px;
}

@media (max-width: 768px) {
    .video-gallery-section {
        margin-top: 40px;
        padding: 30px 0;
    }

    .video-gallery-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-padding: 20px;
    }

    .video-gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .video-gallery-item {
        flex: 0 0 calc(90% - 10px);
        max-width: calc(90% - 10px);
        scroll-snap-align: center;
        border-width: 2px;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .video-gallery-grid {
        gap: 15px;
        padding: 15px;
        scroll-padding: 15px;
    }

    .video-gallery-item {
        flex: 0 0 calc(95% - 7.5px);
        max-width: calc(95% - 7.5px);
    }
}

@media (max-width: 768px) {
    .image-gallery {
        margin-top: 40px;
        padding: 30px 0;
    }

    .gallery-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-padding: 20px;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 calc(85% - 10px);
        max-width: calc(85% - 10px);
        scroll-snap-align: center;
        border-width: 2px;
        aspect-ratio: 4/3;
        transform: perspective(1000px) rotateY(0deg);
        transition: transform 0.3s ease;
    }

    .gallery-item:not(:first-child):not(:last-child) {
        transform: perspective(1000px) rotateY(-2deg) scale(0.98);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
    }

    .gallery-item:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 15px;
        padding: 15px;
        scroll-padding: 15px;
    }

    .gallery-item {
        flex: 0 0 calc(90% - 7.5px);
        max-width: calc(90% - 7.5px);
    }
}
