/* ================================
   RESET & BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Luxury & Sophisticated */
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-gold: #c9a961;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --background-light: #fafafa;
    --background-dark: #0d0d0d;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 60px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    filter: brightness(0) invert(0);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

.navbar.scrolled .hamburger span {
    background-color: var(--text-primary);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pictures/hotel/castle hotel. night shot.jpg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(26,26,26,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--secondary-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
    z-index: -1;
}

.cta-button:hover {
    color: var(--text-primary);
}

.cta-button:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
    animation: scrollAnimation 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollAnimation {
    0%, 100% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* ================================
   SECTION HEADERS
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================================
   PORTFOLIO SECTION
   ================================ */

.portfolio {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 32px;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 15px;
    line-height: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    break-inside: avoid;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px 15px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    width: 100%;
    line-height: 1.4;
}

.gallery-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-info p {
    font-size: 11px;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services {
    padding: var(--section-padding);
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 45px 35px;
    background-color: var(--background-light);
    border: 1px solid #f0f0f0;
    transition: var(--transition-smooth);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    padding-right: 40px;
}

.about-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clients-section {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #e0e0e0;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.clients-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-item {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 15px 30px;
    border: 1px solid #e0e0e0;
    transition: var(--transition-smooth);
}

.client-item:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Platform Logos */

.platform-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.platform-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.platform-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.platform-logo img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.platform-logo:hover img {
    filter: grayscale(0%);
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact {
    padding: var(--section-padding);
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Contact Form */

.contact-form-wrapper {
    background-color: var(--background-light);
    padding: 50px 45px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--secondary-color);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: var(--secondary-color);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 12px;
}

.form-group select:focus,
.form-group select:not([value=""]) {
    padding-top: 20px;
}

.form-group:has(select) label {
    top: 15px;
}

.form-group select:focus + label,
.form-group select:not([value=""]) + label {
    top: -10px;
    font-size: 12px;
    color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 18px 45px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    font-family: var(--font-body);
}

.submit-button svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.submit-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.submit-button:hover svg {
    transform: translateX(5px);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1200px) {
    :root {
        --container-padding: 0 40px;
    }
    
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255,255,255,0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        padding: 40px 0;
        gap: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        color: var(--text-primary);
    }
    
    .hamburger {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 25px;
    }
    
    .nav-container {
        padding: 0 25px;
    }
    
    .hero {
        height: 100vh;
    }
    
    .gallery-grid {
        column-count: 2;
        column-gap: 0;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .clients-list {
        gap: 15px;
    }
    
    .client-item {
        font-size: 12px;
        padding: 12px 20px;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .submit-button {
        width: 100%;
    }
}

/* ================================
   ANIMATIONS & UTILITIES
   ================================ */

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth Scroll Enhancement */
section {
    scroll-margin-top: 80px;
}

/* Loading State */
.gallery-item img {
    background-color: #f5f5f5;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .cta-button {
        display: none;
    }
}
