/* ========================================
   WALLPAPER INSTALLATION SERVICES WEBSITE
   Professional, Modern, Conversion-Optimized
   Design: Premium dark blue, white, neutral tones
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.hero-background {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 82, 0.55);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a3a52;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a3a52;
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #1a3a52;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    background: white;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 82, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h3 {
    color: white;
    font-size: 22px;
    text-align: center;
    font-weight: 600;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: white;
}

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

.service-card {
    background: #f5f5f5;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 58, 82, 0.15);
    border-color: #ffd700;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a3a52;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-owner {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 16px;
}

.highlight-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ffd700;
}

.highlight-box h3 {
    color: #1a3a52;
    font-size: 24px;
    margin-bottom: 20px;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 10px 0;
    color: #555;
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    background: white;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    border: none;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.contact-info {
    padding-right: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffd700;
}

.contact-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Message */
.success-message {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4caf50;
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0f1f2e;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        padding-right: 0;
    }

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

    .contact-info {
        padding-right: 0;
    }

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

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

    .gallery-item {
        height: 220px;
    }

    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h3 {
        font-size: 20px;
    }

    .highlight-box {
        padding: 25px;
    }

    .highlight-box h3 {
        font-size: 20px;
    }

    section {
        padding: 40px 0;
    }
}

/* ========================================
   ACCESSIBILITY & PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}
