/* Premium Yesemek Marble Theme */
:root {
    --primary-dark: #0f1014;
    --primary-light: #ffffff;
    --accent-gold: #c5a059;
    --accent-gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 40%, #b38728 60%, #fbf5b7 100%);
    --accent-gold-hover: #b4932a;
    --text-grey: #666666;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(15, 16, 20, 0.85);
    /* Darker glass for better contrast with gold */
    --transition-speed: 0.4s;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin: 0;
    padding: 0;
    background-color: var(--primary-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.text-gold-gradient {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Navbar */
.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 3rem;
    /* More spacious padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.brand-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: white;
    /* White text on dark navbar */
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--accent-gold-gradient);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: #fbf5b7;
    text-shadow: 0 0 10px rgba(191, 149, 63, 0.6);
    outline: none;
}

.nav-link:focus-visible {
    outline: none;
    color: var(--accent-gold);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    /* For absolute slider positioning */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    padding-top: 80px;
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    /* Smooth fade and slow zoom */
    transform: scale(1);
    z-index: 0;
}

.slide-item.active {
    opacity: 1;
    transform: scale(1.1);
    /* Subtle Ken Burns effect */
    z-index: 1;
}

/* Overlay to ensure text readability on top of images */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

/* Ensure content is above the slider */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: -1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.95;
    color: #f0f0f0;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.btn-premium {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold-gradient);
    color: #fff;
    /* Changed from primary-dark to white as requested */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    /* Shadow for legibility on gold */
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    /* Slightly more square */
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s backwards;
    position: relative;
    /* For shine effect */
    overflow: hidden;
    /* For shine effect */
}

/* Force white text specifically for contact form button to be safe */
.contact-form .btn-premium {
    color: #fff !important;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(189, 149, 63, 0.6);
    color: #000;
}

.btn-premium.dark {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: none;
    background-size: 200% auto;
    border-image: var(--accent-gold-gradient);
    border-image-slice: 1;
    border-radius: 0;
    /* Gradient borders usually need rects, keeping simple gold border for now */
    border: 2px solid #b38728;
}

.btn-premium.dark:hover {
    background: var(--accent-gold-gradient);
    color: #2c241b;
    border-color: transparent;
}

/* Section styling */
.section {
    padding: 7rem 2rem;
    max-width: 1400px;
    /* Wider layout */
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.section-title::after {
    content: '♦';
    /* Diamond symbol for elegance */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold-hover);
}

.about-text p {
    line-height: 1.9;
    color: var(--text-grey);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    box-shadow: 20px 20px 0 var(--bg-light);
    border: 1px solid #eee;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-gold);
    z-index: -1;
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Products/Gallery */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 1rem;
}

.product-card {
    position: relative;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.5s ease;
    /* No default shadow/border for clean look, added on hover/elements */
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card .product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-gold);
    /* Gold bottom border */
}

.product-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.4, 1);
    display: block;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* Dark gradient overlay on hover */
.product-card .product-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-img-wrapper::after {
    opacity: 1;
}

.product-info {
    padding: 1.5rem 1rem;
    text-align: center;
    background: transparent;
    position: relative;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    transition: color 0.3s;
}

.product-card:hover .product-title {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.product-desc {
    /* targeted specifically for the new description class */
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.product-card:hover .product-desc {
    opacity: 1;
    color: #333;
}

/* Price/Action - if needed later */
.product-price {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    margin-top: 0.5rem;
    display: block;
}

/* Contact Section */
.contact-section {
    background-color: #1a1a1a;
    /* Dark background for contact */
    color: white;
    padding-bottom: 5rem;
}

.contact-section .section-title {
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s;
}

.contact-info-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-gold);
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.contact-info h5 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info p {
    color: #ccc;
    margin: 0;
}

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

.form-input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    color: white;
    border-radius: 4px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    opacity: 0.5;
    margin-top: 2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-premium {
        padding: 1rem;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 16, 20, 0.98);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Project Gallery (References) */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.project-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-item .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info .project-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.project-info .project-location {
    color: white;
    font-size: 1rem;
    font-weight: 300;
}

/* Premium Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content-premium {
    background: #0f1014;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: color 0.3s;
}

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

.modal-header-img {
    position: relative;
    width: 100%;
    height: 400px;
}

.modal-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #0f1014, transparent);
    padding: 3rem 2rem 1rem;
}

.modal-title-overlay h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin: 0;
}

.modal-title-overlay p {
    color: #ccc;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.modal-body {
    padding: 2rem;
    color: #e0e0e0;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

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

/* Modal Animations */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}