/* ==============================
   VARIABLES
   ============================== */
:root {
    --primary: #ffde73;
    --dark: #1d1d1d;
    --light: #ffffff;
    --max-width: 1100px;
    --radius: 12px;
}

/* ==============================
   GLOBAL RESET
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* ==============================
   HEADINGS
   ============================== */
h1, h2, h3 {
    margin-bottom: 10px;
    color: var(--light);
}

/* ==============================
   CONTAINER
   ============================== */
.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 60px 20px;
}

/* ==============================
   NAVIGATION
   ============================== */
.nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    background: var(--light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav a {
    margin: 0.5rem 1rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
}

.nav a:hover {
    color: var(--primary);
}

/* ==============================
   HERO
   ============================== */
.hero {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url('your-image.jpg') center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: var(--light);
}

.hero h1 {
    font-size: 2rem;
}

.hero p {
    font-size: 1rem;
}

@media(min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

/* ==============================
   BUTTONS / CTA
   ============================== */
.cta, .contact-form-section button, .centered-button, .return-home-btn, .portfolio-btn {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: var(--radius);
    display: inline-block;
    margin: 0.5rem 0;
    border: none;
    cursor: pointer;
}

.cta, .contact-form-section button, .portfolio-btn {
    background: var(--primary);
    color: var(--dark);
}

.return-home-btn {
    background: #444;
    color: var(--light);
}

/* ==============================
   SECTIONS
   ============================== */
section {
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: auto;
}

/* ==============================
   CARDS / GRIDS
   ============================== */
.grid, .service-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.card, .service-card, .contact-box {
    background-color: #1d1d1d;
    color: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@media (min-width: 600px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================
   CONTACT FORM
   ============================== */
form {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}

input, textarea {
    padding: .75rem;
    border-radius: var(--radius);
    border: 1px solid #ccc;
    width: 100%;
    font-size: 1rem;
}

button {
    width: 100%;
}

input, textarea {
    background-color: #222;
    color: var(--light);
    border: 1px solid #555;
}

form button {
    background-color: var(--primary);  /* Gold background */
    color: black;                      /* Black text */
    font-weight: bold;
    border: none;
    border-radius: var(--radius);      /* Rounded corners */
    padding: 12px 25px;                /* Comfortable size */
    cursor: pointer;
    transition: background 0.3s ease;  /* Smooth hover effect */
}

form button:hover {
    background-color: #e6c859;         /* Slightly darker gold on hover */
}

/* ==============================
   IMAGE / GALLERY
   ============================== */
.centered-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: auto;
}

.gallery-container {
    position: relative;  /* keeps buttons relative to container */
    width: 100%;
    max-width: 600px;   /* same as before */
    margin: auto;
}

.image-wrapper {
    display: flex;
    overflow: hidden;
}

.gallery-img {
    display: none;
    width: 100%;
    height: auto;
}

.gallery-img.active {
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    width: auto;
    background-color: rgba(0,0,0,0.5);
    color: var(--light);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    /*z-index: 10; /* ensures arrows sit above images */
}

.nav-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev-btn {
    left: -100px;  /* stays on the left */
}

.next-btn {
    right: -100px; /* stays on the right */
}

/* ==============================
   WHY US SECTION
   ============================== */
.why-us {
    background: #222;
    color: var(--light);
    text-align: center;
}

.why-us ul {
    list-style: none;
    padding: 0;
}

.why-us li {
    margin: 10px 0;
}

/* ==============================
   HERO / CTA / FORM MEDIA
   ============================== */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Map container for responsive layout */
.map-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto; /* Centers the map */
    border-radius: var(--radius); /* Rounded corners to match theme */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* Optional shadow for style */
}

/* CONTACT LAYOUT */
.contact-wrapper {
    display: grid;
    gap: 40px;
}

/* Desktop layout */
@media (min-width: 800px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Map styling */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.4);
}

/* CONTACT EMAIL */
.contact-email {
    margin-bottom: 20px;
}

.contact-email a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* CONTACT PHONE */
.contact-phone {
    margin-bottom: 20px;
}

.contact-phone a {
    color: var(--primary);   /* gold color */
    font-weight: bold;
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

/* CONTACT SECTION POLISH */
.contact h2 {
    text-align: center;
    margin-bottom: 30px;
}

.contact h3 {
    margin-bottom: 10px;
}

/* Space out contact boxes */
.contact-box {
    margin-bottom: 20px;
}

/* Form alignment improvement */
.contact-form {
    width: 100%;
}

/* Slightly tighter form spacing */
.contact-form label {
    font-size: 0.9rem;
    color: #ccc;
}