/* CSS Variables for Easy Customization */
:root {
    --color-black: #000000;
    --color-gold: #D4AF37;
    --color-gold-light: #F4E4BC;
    --color-gold-dark: #B8860B;
    --color-white: #FFFFFF;
    --color-gray-light: #F8F9FA;
    --color-gray-dark: #333333;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-heavy: rgba(0, 0, 0, 0.3);
    
    --font-primary: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-gray-dark);
    overflow-x: hidden;
}

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

/* Navigation - Black Section */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-black);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 30px var(--color-shadow);
}

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

.nav-logo .logo {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Black Background (First in alternating pattern: Black) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: grayscale(100%);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    width: 100%;
    color: var(--color-gold);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-white), var(--color-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
}

/* About Section - White Background (Second in alternating pattern: White) */
.about {
    background: var(--color-white);
    padding: 120px 0;
    position: relative;
}

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

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--color-shadow);
    filter: grayscale(100%);
}

.about-text p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

/* Services Section - Gold Background (Third in alternating pattern: Gold) */
.services {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-visual {
    position: relative;
    background: var(--color-black);
    min-height: 675px;
}

.services-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-black), var(--color-gray-dark));
    margin: 0 auto;
    border-radius: 2px;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.services-text h3 {
    font-size: 2.5rem;
    color: var(--color-black);
    margin-bottom: 30px;
    font-weight: 600;
}

.services-text p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 50px;
    line-height: 1.8;
}

.services-cards {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.floating-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.card-icon {
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 15px;
}

.floating-card h4 {
    font-size: 1.3rem;
    color: var(--color-black);
    margin-bottom: 10px;
    font-weight: 600;
}

.floating-card p {
    color: var(--color-gray-dark);
    font-size: 0.7rem;
    line-height: 1.4;
}

/* Contact Section - Black Background (Fourth in alternating pattern: Black) */
.contact {
    background: var(--color-black);
    padding: 120px 0;
    position: relative;
}

.contact .section-title {
    color: var(--color-white);
}

.contact .title-underline {
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin-top: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-info-content {
    text-align: center;
}

.contact-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 40px;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
}

.info-icon {
    font-size: 1.2rem;
}

.social-link {
    color: var(--color-gold);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--color-gold);
    border-radius: 25px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* Contact Us Button */
.open-modal {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.open-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--color-black);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

/* Modern Contact Form */
.contact-form {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact-form p {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.7;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.form-field {
    position: relative;
    margin-bottom: 32px;
}

/* Modern Input Styling */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--color-white);
    font-size: 0.7875rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    font-family: var(--font-primary);
}

.contact-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="rgba(255,255,255,0.5)" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select:invalid {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    transition: var(--transition-smooth);
}

/* Floating Label Effect */
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0;
    transform: translateY(-10px);
}

/* Focus States with Glow Effect */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 4px rgba(212, 175, 55, 0.15),
        0 8px 32px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hover States */
.contact-form input:hover:not(:focus),
.contact-form textarea:hover:not(:focus),
.contact-form select:hover:not(:focus) {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Textarea Specific */
.contact-form textarea {
    height: 105px;
    resize: vertical;
    min-height: 90px;
    max-height: 225px;
}

/* Modern Submit Button */
.submit-button {
    width: 100%;
    padding: 22px 32px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-top: 16px;
}

/* Button Hover Effect */
.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 16px 40px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #E6C547 0%, #C5941A 100%);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Disabled and Loading States */
.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-text {
    display: inline-block;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.button-loader {
    display: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 12px;
    vertical-align: middle;
}

.submit-button.loading {
    pointer-events: none;
}

.submit-button.loading .button-text {
    opacity: 0.8;
}

.submit-button.loading .button-loader {
    display: inline-block;
}

/* Success/Error States */
.contact-form input.success,
.contact-form textarea.success,
.contact-form select.success {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.1);
}

.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Footer - Black Background */
.footer {
    background: var(--color-black);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-black);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content,
    .services-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-cards {
        flex-direction: column;
    }
    
    .services-visual {
        min-height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-button-container {
        width: 100%;
        text-align: center;
    }
    
    .open-modal {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-text h3 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .cta-button,
    .submit-button {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 50px 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-shadow: rgba(0, 0, 0, 0.8);
        --color-shadow-heavy: rgba(0, 0, 0, 0.9);
    }
    
    .floating-card,
    .contact-form {
        border-width: 2px;
    }
}

.links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}