/* ============================================
   BELLAGGIO STUDIO - LUXURY WALLPAPER INSTALLATION
   Design Philosophy: Luxury, Italian-Inspired, Premium, Modern
   Color Palette: Cream, Beige, Warm Gray, Charcoal, Gold Accents
   Typography: Playfair Display (Display) + Montserrat (Body)
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #3a3a3a;
    background-color: #faf8f5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.8rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 1.6rem;
    color: #2a2a2a;
}

p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3a3a3a;
    position: relative;
    padding-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9a961, #e8c547);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.65) 0%, rgba(44, 44, 44, 0.45) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 850px;
    padding: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #c9a961, #e8c547);
    color: white;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8964f, #d4b535);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: white;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #ffffff;
}

.about .container {
    max-width: 850px;
}

.about p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #c9a961;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-choose {
    padding: 6rem 0;
    background-color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c9a961, #e8c547);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.benefit-item h3 {
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.benefit-item p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(44, 44, 44, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay p {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem;
    border: 1px solid #e0ddd8;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #faf8f5;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a961;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f6 100%);
    border-left: 4px solid #4caf50;
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
}

.success-message h3 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

.success-message p {
    color: #558b2f;
}

.contact-info {
    background: linear-gradient(135deg, #f5f2ed 0%, #faf8f5 100%);
    padding: 2.5rem;
    border-radius: 4px;
    height: fit-content;
    border: 1px solid #e0ddd8;
}

.contact-info h3 {
    margin-bottom: 1.8rem;
    color: #1a1a1a;
}

.contact-info p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #666;
}

.contact-info a {
    color: #c9a961;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e8c547;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
}

.map-section .container {
    max-width: 1000px;
}

.map-section iframe {
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #bbb;
    padding: 3.5rem 0 1.5rem;
}

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

.footer-section h4 {
    color: #c9a961;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #c9a961;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e8c547;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid #444;
    color: #777;
    font-size: 0.9rem;
}

/* Error Message Styling */
.error-message {
    color: #ff6b6b;
    margin-top: 5px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1.2rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    h2 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .gallery-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }

    .service-card,
    .benefit-item {
        padding: 1.5rem;
    }

    .map-section iframe {
        height: 250px;
    }
}
