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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 3rem;
}

.company-name {
    text-align: left;
}

.company-name h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #d3b184;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 1px;
}

.company-name p {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.5px;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d3b184;
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: slideshow 10s infinite;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

@keyframes slideshow {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #d3b184;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Mission Section */
.mission {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.mission-text {
    text-align: center;
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    color: #333;
    font-weight: 500;
    line-height: 1.9;
    border-left: 4px solid #d3b184;
    padding-left: 2rem;
}

/* Chessboard Layout */
.chessboard-section {
    padding: 4rem 0;
    background-color: #fff;
}

.chessboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.chessboard-row:last-child {
    margin-bottom: 0;
}

.chessboard-text {
    padding: 2rem 0;
}

.chessboard-text h2 {
    color: #000;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.chessboard-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.chessboard-image {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chessboard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.chessboard-image:hover img {
    transform: scale(1.05);
}

/* Simple Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.simple-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-card {
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(211, 177, 132, 0.3);
}

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

/* Page Hero with Image Breadcrumb */
.page-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.page-hero .hero-overlay {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.page-hero .hero-overlay .container {
    text-align: center;
}

.page-hero h1 {
    color: #d3b184;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    font-weight: 800;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
    color: #000;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Contact Form 7 Styles */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin: 0;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group:last-of-type {
    margin-bottom: 0;
}

/* Input Fields */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #d3b184;
    box-shadow: 0 0 0 3px rgba(211, 177, 132, 0.1);
}

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

/* Placeholder Styles */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Error States */
.wpcf7-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Submit Button */
.wpcf7-form .theme-btn,
.wpcf7-form button[type="submit"] {
    background-color: #d3b184;
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wpcf7-form .theme-btn:hover,
.wpcf7-form button[type="submit"]:hover {
    background-color: #b8965f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 177, 132, 0.3);
}

.wpcf7-form .theme-btn:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Response Messages */
.wpcf7-response-output {
    margin: 1.5rem 0 0 0;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.wpcf7-spam-blocked {
    background-color: #fff3cd;
    border: 2px solid #ffeeba;
    color: #856404;
}

/* Spinner */
.wpcf7-form .wpcf7-spinner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* Hidden Fields Container */
.hidden-fields-container {
    display: none;
}

/* Footer */
footer {
    background-color: #333;
    color: #d3b184;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 0.6rem 0;
    }

    .brand-container {
        gap: 1.5rem;
    }

    .company-name h1 {
        font-size: 1rem;
    }

    .company-name p {
        font-size: 0.75rem;
    }

    .logo img {
        height: 60px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
        padding: 0 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Mission */
    .mission {
        padding: 2.5rem 0;
    }

    .mission-text {
        font-size: 1rem;
        padding: 0 1rem;
        padding-left: 1.5rem;
        text-align: left;
    }

    /* Chessboard - stack vertically on mobile */
    .chessboard-section {
        padding: 2rem 0;
    }

    .chessboard-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }

    .chessboard-row.reverse {
        grid-template-columns: 1fr;
    }

    .chessboard-text {
        padding: 0;
    }

    .chessboard-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .chessboard-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .chessboard-image {
        height: 250px;
        border-radius: 5px;
    }

    /* Gallery */
    .gallery-section {
        padding: 2.5rem 0;
    }

    .simple-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-card {
        height: 250px;
    }

    /* Page Hero */
    .page-hero {
        height: 300px;
    }

    .page-hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .page-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contact-form-section {
        padding: 2.5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    /* Contact Form Responsive */
    .wpcf7-form {
        padding: 0 1rem;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .wpcf7-form .theme-btn,
    .wpcf7-form button[type="submit"] {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .input-group {
        margin-bottom: 1.2rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .brand-container {
        gap: 1rem;
    }

    .company-name h1 {
        font-size: 0.85rem;
    }

    .company-name p {
        font-size: 0.65rem;
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .mission-text {
        font-size: 0.95rem;
        padding: 0 0.8rem;
        padding-left: 1.2rem;
    }

    .chessboard-text h2 {
        font-size: 1.3rem;
    }

    .chessboard-text p {
        font-size: 0.9rem;
    }

    .chessboard-image {
        height: 220px;
    }

    .gallery-card {
        height: 220px;
    }

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

    /* Contact Form Extra Small */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form textarea {
        padding: 0.8rem 0.9rem;
        font-size: 0.9rem;
    }

    .wpcf7-form .theme-btn,
    .wpcf7-form button[type="submit"] {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .wpcf7-form textarea {
        min-height: 120px;
    }
}
