/* CSS Variables */
:root {
    --primary-color: #2c3e50;
    --gold: #efb54b;
    --primary-gold: #efb54b;
}

/* Video Section Styles */
.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.carpet-cleaning-video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 181, 75, 0.4);
}

.video-control-btn i {
    font-size: 16px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    pointer-events: none;
}

.video-content {
    color: white;
    max-width: 400px;
}

.video-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-content p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .carpet-cleaning-video {
        height: 300px;
    }
    
    .video-controls {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .video-control-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .video-control-btn .control-text {
        display: none;
    }
    
    .video-overlay {
        padding: 20px;
    }
    
    .video-content h3 {
        font-size: 1.4rem;
    }
    
    .video-content p {
        font-size: 0.9rem;
    }
}

/* Book Now Page Specific Styles */
.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Form Input Text Color Fix */
.booking-form input,
.booking-form select,
.booking-form textarea,
.default-form input,
.default-form select,
.default-form textarea {
    color: var(--dark-text) !important;
    background-color: #ffffff !important;
}

/* Ensure select dropdown options have proper contrast */
.booking-form select option,
.default-form select option,
.form-control option,
.select option,
select option {
    color: #333333 !important;
    background-color: #ffffff !important;
}

/* For grouped options */
select optgroup {
    color: #333333 !important;
    background-color: #ffffff !important;
}

.text-booking {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.text-booking:first-child {
    margin-top: 0;
}

.form-control, .select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
    color: var(--dark-text) !important;
    background-color: #ffffff;
}

.form-control:focus, .select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(239, 181, 75, 0.1);
    color: var(--dark-text) !important;
}

textarea.form-control {
    color: var(--dark-text) !important;
    background-color: #ffffff;
}

.panel-list-btn {
    text-align: center;
    margin-bottom: 1rem;
}

.panel-list-btn input[type="radio"],
.panel-list-btn input[type="checkbox"] {
    display: none;
}

.panel-list-btn label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: white !important;
    min-height: 80px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.panel-list-btn label:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.panel-list-btn input:checked + label {
    border-color: #0f70b7 !important;
    background: #0f70b7 !important;
    color: #ffffff !important;
}

.panel-list-btn p,
.panel-list-btn span {
    margin: 5px 0 0 0;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.panel-list-btn input:checked + label span {
    color: #ffffff;
    font-weight: 600;
}

.panel-list-btn label i {
    display: block !important;
    margin-bottom: 5px !important;
    font-size: 24px !important;
    color: #efb54b !important;
}

.panel-list-btn label span {
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-top: 5px !important;
}

.panel-list-btn input:checked + label i {
    color: #ffffff !important;
}

.panel-list-btn input:checked + label span {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.book-button {
    background: linear-gradient(135deg, var(--gold) 0%, #d4a853 100%);
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    max-width: 300px;
    margin: 2rem auto 0 auto;
    display: block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(239, 181, 75, 0.2);
    min-width: 200px;
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 181, 75, 0.4);
    background: linear-gradient(135deg, #d4a853 0%, var(--gold) 100%);
}

.book-button:active {
    transform: translateY(0);
}

.book-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-12 {
    padding: 0 15px;
}

.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 768px) {
    .col-md-3, .col-md-4, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .booking-form {
        padding: 1rem;
    }
    
    .text-booking {
        font-size: 1.1rem;
    }
    
    .book-button {
        width: 100%;
        max-width: none;
        margin: 2rem 0 0 0;
    }
}

.clearfix {
    clear: both;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.m-b-5 {
    margin-bottom: 0.5rem;
}

/* Gallery Section Styles */
.gallery-section {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 112, 183, 0.9) 0%, rgba(239, 181, 75, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-content h4 {
        font-size: 1.2rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Elegant Footer Contact Styles */
.elegant-contact {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.elegant-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 181, 75, 0.05) 0%, rgba(15, 112, 183, 0.05) 100%);
    z-index: 0;
}

.elegant-contact:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gold) 0%, #d4a853 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 181, 75, 0.3);
    position: relative;
    z-index: 1;
}

.contact-icon-wrapper i {
    color: white;
    font-size: 1.3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    line-height: 1.3;
}

.contact-value:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .elegant-contact {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }
    
    .contact-icon-wrapper i {
        font-size: 1.1rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .elegant-contact {
        padding: 0.9rem;
    }
    
    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.75rem;
    }
}

/* Footer Layout Styles - 3 Column Design */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-links-section h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.1rem 0;
    display: block;
}

.footer-links li a:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.footer-contact-section h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-contact-section {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact-section {
        grid-column: auto;
        margin-top: 0;
    }
}

/* Service Areas Note Styles */
.service-areas-note {
    background: rgba(239, 181, 75, 0.1);
    border-left: 4px solid var(--gold);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.service-areas-note h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-areas-note p {
    margin: 0;
    color: #666;
}

/* Elegant Navbar (site-wide) */
.header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.navbar { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.navbar-brand .logo { height: 44px; width: auto; display: block; object-fit: contain; }
@media (min-width: 1200px) { .navbar-brand .logo { height: 48px; } }

/* Prevent any rotation/animation on the navbar logo */
.header .navbar-brand .logo,
.navbar .navbar-brand .logo {
    animation: none !important;
    transform: none !important;
    transition: none !important;
}
.navbar .navbar-brand:hover .logo,
.header .navbar-brand:hover .logo {
    transform: none !important;
}

.nav-link {
    color: #263238;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    position: relative;
    transition: color 0.25s ease;
}
.nav-link:hover, .nav-link:focus, .nav-link.active { color: #0f70b7; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, #0f70b7, #efb54b);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    padding: 0.5rem;
}
.dropdown-item { border-radius: 8px; font-weight: 500; }
.dropdown-item:hover { background: rgba(15,112,183,0.08); }

.nav-actions .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-btn-primary {
    background: linear-gradient(135deg, rgba(239,181,75,0.95), rgba(244,196,48,0.95));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(239,181,75,0.25);
}
.nav-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(239,181,75,0.35); }
.nav-btn-secondary {
    background: rgba(15,112,183,0.08);
    color: #0f70b7 !important;
    border: 1px solid rgba(15,112,183,0.15);
}
.nav-btn-secondary:hover { transform: translateY(-2px); background: rgba(15,112,183,0.12); }
