/* Napier Homes - Main Stylesheet */

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

body {
    font-family: 'Proxima Nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #bfac73; text-decoration: none; }
a:hover { color: #e2cc88; }

/* Header */
.site-header {
    background: #333 url('../images/bkg-header.jpg') repeat center top;
    padding: 20px 0;
    position: relative;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-width: 300px;
    height: auto;
}

.header-contact {
    text-align: right;
}

.header-phone {
    font-size: 24px;
    font-weight: 600;
    color: #bfac73;
    text-decoration: none;
}

.header-phone:hover { color: #e2cc88; }

.header-email {
    display: inline-block;
    margin-top: 5px;
}

.header-email img {
    width: 32px;
    height: 32px;
}

/* Navigation */
.main-nav {
    background: #232323 url('../images/bkg-nav-fill.jpg') repeat-x center top;
    box-shadow: 0 7px 8px rgba(0,0,0,0.21);
}

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

.nav-inner ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-inner li {
    margin: 0;
}

.nav-inner a {
    display: block;
    padding: 15px 20px;
    color: #bfac73;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, background 0.3s;
}

.nav-inner a:hover,
.nav-inner a.active {
    color: #edd99d;
    background: rgba(255,255,255,0.05);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slider .slides {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slider .slide {
    min-width: 100%;
}

.hero-slider .slide img {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    width: 90%;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 20px;
}

/* Page Content */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #bfac73;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 10px;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin: 15px 0 15px 30px;
}

.page-content li {
    margin-bottom: 8px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.gallery-item .caption {
    padding: 12px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Floor Plan Cards */
.floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.floor-plan-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.floor-plan-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.floor-plan-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.floor-plan-card .info {
    padding: 15px;
}

.floor-plan-card .info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.floor-plan-card .info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 20px 0;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: #bfac73;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #a08d5a;
}

/* Contact Info */
.contact-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
    margin: 20px 0;
}

.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info .label {
    font-weight: 600;
    color: #333;
}

/* Footer */
.site-footer {
    background: #333;
    color: #999;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-inner a {
    color: #bfac73;
}

.footer-inner a:hover {
    color: #e2cc88;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        text-align: center;
        margin-top: 15px;
    }

    .nav-inner ul {
        flex-direction: column;
    }

    .nav-inner a {
        padding: 12px 15px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .page-title {
        font-size: 28px;
    }

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

    .floor-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
