/* Main stylesheet for Cilcain Road, Gwernaffield property website */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
    --primary-color: #CFFDBC;
    --secondary-color: #f9fdf7;
    --box-green: #B7ECA1;
    --text-dark: #333;
    --text-light: #2c2c2c;
    --accent: #7ED957;
    --subtle-accent: rgba(207, 253, 188, 0.2);
    --box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 25px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 26px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-dark);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 600px;
    background-image: url('/api/placeholder/1200/600');
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 30px;
    max-width: 600px;
    color: var(--text-dark);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Price Tag */
.price-tag {
    background-color: var(--accent);
    color: white;
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
}

/* Feature Boxes */
.features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.feature-box {
    flex: 1;
    min-width: 240px;
    margin: 10px;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--accent);
}

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

.feature-box h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    color: var(--text-dark);
    padding: 15px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-category {
    margin-bottom: 60px;
}

.gallery-category h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Garden Sections */
.garden-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.garden-section {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.garden-section:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.garden-section h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 0;
    font-family: 'Playfair Display', serif;
}

.garden-section ul {
    margin-left: 20px;
    list-style-type: none;
}

.garden-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.garden-section ul li:before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Call to Action Section */
.cta-section {
    background-color: white;
    color: var(--text-dark);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/400') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

/* Button Styles */
.button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    margin-top: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

.button:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Property Overview */
.property-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent);
}

.property-image {
    flex: 2;
    min-width: 300px;
    height: 320px;
    background-color: #f5f5f5;
    background-image: url('/api/placeholder/600/320');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
}

.property-image:hover {
    transform: scale(1.02);
}

.property-summary {
    flex: 3;
    min-width: 300px;
}

.property-summary h3 {
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.6rem;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.property-feature {
    background-color: var(--subtle-accent);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.property-feature:hover {
    background-color: var(--box-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Room Grid */
.detail-section {
    margin-bottom: 40px;
}

.detail-section h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.room-box {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent);
}

.room-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.room-box h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    border-bottom: 1px solid var(--subtle-accent);
    padding-bottom: 10px;
}

.room-features {
    list-style-type: none;
}

.room-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.room-features li:before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Form Styles */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent);
}

.contact-info-box h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--subtle-accent);
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.contact-method {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-method-icon {
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-method-text h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border-right: 4px solid var(--accent);
}

.form-container h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--subtle-accent);
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--subtle-accent);
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Viewing Options */
.viewing-options {
    margin-top: 60px;
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent);
}

.viewing-options h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.8rem;
}

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

.viewing-box {
    background-color: var(--subtle-accent);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.viewing-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.viewing-box h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

.contact-info {
    margin-bottom: 25px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-dark);
    margin: 0 15px;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.social-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-dark);
    transition: width 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    .hero-content {
        bottom: 20px;
        max-width: 100%;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-grid,
    .location-grid,
    .epc-grid {
        grid-template-columns: 1fr;
    }
}
