/*
Theme Name: Wiltshire Robotic Mowers
Theme URI: https://wiltshirerobotic.co.uk
Description: A premium, natural WordPress theme for Wiltshire Robotic Mowers
Version: 1.0
Author: Wiltshire Robotic Mowers
Author URI: https://wiltshirerobotic.co.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiltshire-mowers
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #1a3a2e;
    --sage-green: #4a6b5a;
    --moss-green: #7a9b88;
    --cream: #fdfbf7;
    --white: #ffffff;
    --text-dark: #2d3e36;
    --text-light: #6b7c73;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 58, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

nav .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.05em;
}

nav .logo a {
    color: var(--cream);
    text-decoration: none;
}

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

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
    color: var(--moss-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(122, 155, 136, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 107, 90, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    text-align: center;
    color: var(--cream);
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero h1 {
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--cream);
    color: var(--forest-green);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 2px solid var(--cream);
    font-weight: 400;
}

.cta-button:hover {
    background: transparent;
    color: var(--cream);
    transform: translateY(-2px);
}

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

/* Section Styling */
section {
    padding: 8rem 0;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

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

section:nth-child(even) {
    background: var(--white);
}

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

.section-header h2 {
    font-size: 3.5rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--moss-green) 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '🌿';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem 2.5rem;
    background: var(--cream);
    border: 1px solid rgba(26, 58, 46, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--forest-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 58, 46, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card h3 {
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Mammotion Section */
.mammotion-section {
    background: var(--forest-green);
    color: var(--cream);
}

.mammotion-section .section-header h2,
.mammotion-section .section-header p {
    color: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(253, 251, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--cream);
}

.feature p {
    font-size: 0.95rem;
    color: rgba(253, 251, 247, 0.8);
    line-height: 1.7;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--moss-green) 100%);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 46, 0.3);
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 0;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

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

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest-green);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border: 1px solid rgba(26, 58, 46, 0.2);
    background: var(--white);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest-green);
    background: var(--cream);
}

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

.submit-button {
    padding: 1.2rem 3rem;
    background: var(--forest-green);
    color: var(--cream);
    border: 2px solid var(--forest-green);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
}

.submit-button:hover {
    background: transparent;
    color: var(--forest-green);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    text-align: center;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    color: var(--forest-green);
    margin-bottom: 0.8rem;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--forest-green);
    color: var(--cream);
    padding: 4rem 0 2rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-content,
    .services-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    nav ul {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav .container {
        padding: 0 1.5rem;
    }

    nav ul {
        display: none;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 5rem 0;
    }

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

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

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
