/* Base Styles & Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #FF6600;
    --accent-color: #FF8533;
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --bg-dark: #121212;
    --bg-light: #1E1E1E;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1599351431202-1e0f0137899a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 102, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.price {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    cursor: pointer;
    background: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.2);
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.before, 
.after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before {
    width: 50%;
    z-index: 2;
    border-right: 2px solid var(--secondary-color);
}

.before img,
.after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before span,
.after span {
    position: absolute;
    bottom: 10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 3;
}

.before span {
    left: 10px;
}

.after span {
    right: 10px;
}

.slider {
    position: absolute;
    top: 0;
    left: calc(50% - 15px);
    width: 30px;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    left: 50%;
    transform: translateX(-50%);
}

.slider-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid white;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: white;
    z-index: 5;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin: 0;
    color: #ddd;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-container {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 30px;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin: 15px 0;
    letter-spacing: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--secondary-color);
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px;
    color: var(--text-color);
    font-size: 1.2rem;
}

.author-info .role {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0 3px;
}

.author-info .date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.testimonial-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: -20px;
}

.testimonial-nav.next {
    right: -20px;
}

.testimonial-nav i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
}

/* Adjust position for perfect centering */
.testimonial-nav.prev i {
    margin-right: 2px;
}

.testimonial-nav.next i {
    margin-left: 2px;
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .testimonial-nav.prev {
        left: 10px;
    }
    
    .testimonial-nav.next {
        right: 10px;
    }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Booking Section */
.booking {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 70px 0 20px;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    line-height: 1.6;
}

.footer-links h3,
.footer-social h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        padding: 20px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .booking-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}
