/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-gold: #b08d57;
    --color-gold-dark: #8b6f45;
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #fff;
    --color-bg-light: #f9f9f9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    padding: 20px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
}

/* Header */
.header {
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold-dark);
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-left: auto;
}

/* About Section */
.about {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-column h2 {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about-column p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    text-align: justify;
}

/* Excellence Section */
.excellence {
    padding: 60px 0;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.excellence-text h2 {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.excellence-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.excellence-text strong {
    color: var(--color-gold);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery Section */
.gallery {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.gallery-caption {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* References Section */
.references {
    padding: 60px 0;
    text-align: center;
}

.references h2 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 40px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.reference-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-item img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.reference-item img:hover {
    filter: grayscale(0%);
}

/* Videos Section */
.videos {
    padding: 40px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-thumbnail {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #ff0000;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-thumbnail:hover .video-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Section */
.contact {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-image {
    max-width: 350px;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
}

.contact-image-caption {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 10px;
    text-align: center;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 30px;
}

.contact-form {
    max-width: 500px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.recaptcha-notice {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--color-gold-dark);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-left p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.social-link {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-gold-dark);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    padding: 15px;
    color: #ccc;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .references-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image img {
        margin: 0 auto;
    }

    .about-grid,
    .excellence-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

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

    .contact-image {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}
