/* ========================================
   Fine Line Walls Denver - Stylesheet
   Design Philosophy: Minimalist Luxury
   - Premium positioning with gold accents
   - Generous whitespace and asymmetrical layouts
   - Refined typography and subtle animations
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    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 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #4a4a4a;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

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

.nav-cta {
    background-color: #1a1a1a;
    color: #f5f5f5 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #d4af37;
    color: #1a1a1a !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(212, 175, 55, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f5f5f5;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #d4af37;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: #e8c547;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background-color: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 5rem 0;
    background-color: #ffffff;
}

section:nth-child(even) {
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 0 auto;
    animation: slideIn 0.6s ease-out;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    border-top: 3px solid #d4af37;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.highlight-title {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.highlight-desc {
    display: block;
    font-size: 0.95rem;
    color: #8b8b8b;
}

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

.service-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #d4af37;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.service-card p {
    font-size: 0.95rem;
    color: #8b8b8b;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.9) 100%);
    color: #ffffff;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

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

.portfolio-overlay h3 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

/* Why Choose Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: bold;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #8b8b8b;
    margin: 0;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.info-block a {
    color: #d4af37;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-block a:hover {
    color: #e8c547;
}

.info-block p {
    color: #4a4a4a;
    margin: 0;
    line-height: 1.8;
}

.map-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #f5f5f5;
    padding: 2.5rem;
    border-radius: 4px;
}

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

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

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.contact-form button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-success {
    background-color: #f0f9ff;
    border-left: 4px solid #d4af37;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
}

.form-success h3 {
    color: #d4af37;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #4a4a4a;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 3rem 0;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    color: #f5f5f5;
    font-size: 0.95rem;
}

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

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

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

/* Scroll Animation */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

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

    .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

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

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

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

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

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

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
