/* style.css - European Style Construction */

:root {
    /* YOUR CUSTOM LOGO PALETTE */
    --primary-color: #21212b; /* Dark Navy for Text/Nav */
    --accent-color: #d37c0f;  /* Burnt Orange for Buttons */
    --secondary-color: #6c7430; /* Olive Green for Borders/Highlights */
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
}

/* --- Navigation --- */
header {
    background: var(--white);
    border-bottom: 4px solid var(--secondary-color); /* Olive Green Border */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Sizing */
.logo img {
    height: 80px; /* Adjust if logo feels too big/small */
    width: auto;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color); /* Turns Orange on Hover */
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 600px; /* Height of the main banner */
    background: #333;
    overflow: hidden;
}

.slide {
    display: none; /* Hidden by default */
    height: 100%;
    background-position: center;
    background-size: cover;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0; left: 0; width: 100%;
}

/* Dark overlay so text is readable */
.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: var(--accent-color); /* Burnt Orange */
    color: var(--white);
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--secondary-color); /* Turns Olive Green on Hover */
}

/* --- Intro Section --- */
.intro {
    padding: 80px 0;
}

.intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color); /* Olive Green Heading */
    margin-bottom: 20px;
}

.intro img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-bottom: 5px solid var(--accent-color);
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 5px solid var(--accent-color);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fade animation for slider */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    nav { flex-direction: column; }
    .nav-links ul { margin-top: 20px; }
    .intro .container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .logo img { height: 60px; }
}
.page-header {
    height: 300px;
    background-color: #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header .overlay {
    background: rgba(0,0,0,0.6);
    padding: 20px 40px;
    border-radius: 4px;
}

.page-header h1 { font-size: 3rem; }

.services-list { padding: 60px 0; }

.intro-text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background: #fff;
    /* Removed padding so image touches edges */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s;
    overflow: hidden; /* Keeps image inside rounded corners */
}

.service-box:hover {
    transform: translateY(-5px);
    border-top: 4px solid var(--accent-color);
}

/* IMAGE STYLING */
.service-box img {
    width: 100%;
    height: 200px; /* Forces all images to be same height */
    object-fit: cover; /* Crops the image so it doesn't squish */
    display: block;
}

/* TEXT STYLING */
.service-box h3 {
    color: var(--primary-color);
    margin: 20px 20px 10px 20px; /* Adds spacing around text */
    font-size: 1.4rem;
}

.service-box p {
    margin: 0 20px 20px 20px; /* Adds spacing around text */
    color: #666;
    font-size: 0.95rem;
}

.call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 8px;
}
.gallery-section { padding: 60px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Makes all photos uniform height */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.1); /* Zooms in slightly when you hover */
}
.about-list {
    list-style: none; /* Removes standard dots */
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* Creates a gold checkmark before each item */
.about-list li::before {
    content: '✔'; 
    color: var(--accent-color); /* Burnt Orange */
    margin-right: 10px;
    font-weight: bold;
}
/* --- Contact Page (Updated) --- */
.contact-container {
    display: grid;
    /* This makes it 1 column instead of 2, so they stack */
    grid-template-columns: 1fr; 
    gap: 40px;
    margin-top: 40px;
    max-width: 800px; /* Keeps the text line length readable */
    margin-left: auto;
    margin-right: auto;
}

.contact-info-box {
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    border-top: 5px solid var(--accent-color); /* Moved border to top for this layout */
    text-align: center; /* Centers the text since it's now full width */
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p, .contact-item a {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Map styling */
.map-box iframe {
    width: 100%;
    height: 450px; /* Made it taller so it looks good full-width */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}