/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-600: #6b7280;
    --gray-800: #1f2937;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    
    /* Contact page variables */
    --text-color: var(--primary-black);
    --accent-color: #d4af37;
    --bg-color: var(--primary-white);
}

body {
    font-family: 'Anton', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: rgba(213, 164, 205, 0.2);
    overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(213, 164, 205, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    border-top: 2px solid var(--primary-black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 300;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(10px);
    z-index: 1000;
    /* border-bottom: 1px solid var(--gray-200); */
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    cursor: pointer;
}

#logo-img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

/* Menu Toggle */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    z-index: 1001;
    transition: var(--transition);
}

.menu-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-toggle:hover .menu-text {
    color: var(--gray-600);
}

/* Fullscreen Overlay Navigation */
.overlay-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-nav.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    padding: 2rem;
}

.overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 10000;
}

.close-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.overlay-close:hover .close-text {
    color: rgba(255, 255, 255, 0.7);
}

.nav-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav-list li {
    margin: 1.5rem 0;
}

.nav-link {
    display: block;
    color: var(--primary-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #d5a4cd ;
    transform: translateX(10px);
}

.nav-link.active {
    color: #d5a4cd ;
}


.nav-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-footer-left {
    display: flex;
    gap: 2rem;
}

.nav-footer-link {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-footer-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--primary-white);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
    right: 0;
}

.nav-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.nav-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: var(--transition);
}

.nav-close:hover {
    color: var(--primary-black);
}

.nav-projects {
    list-style: none;
    flex: 1;
}

.nav-projects li {
    margin-bottom: 0.5rem;
}

.nav-projects a {
    display: block;
    padding: 1rem 0;
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.nav-projects a:hover {
    color: var(--gray-600);
    padding-left: 1rem;
}

.nav-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.instagram-link:hover {
    color: var(--gray-600);
}

/* Main Content */
#main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Home View - Artistic Scattered Layout */
.home-view {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding: 2rem 0;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.project-item:nth-child(even) {
    flex-direction: row-reverse;
}

.project-content {
    flex: 1;
    min-width: 0;
}

.project-slider-container {
    flex: 1;
    position: relative;
    min-width: 0;
}

.project-slider {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    /* background: rgba(213, 164, 205, 0.2); white background so portrait images get white bars */
    height: 400px; /* default fixed height; JS will override per slider */
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
    /* Remove conflicting default transform */
    will-change: transform;
}

.slider-track.dragging {
    transition: none;
}

/* Auto-play control - easy to disable */
.slider-autoplay {
    /* Set to 'paused' to disable auto-play globally */
    animation-play-state: running;
}

.slider-autoplay.paused {
    animation-play-state: paused;
}

.slider-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slider-slide .media-wrap {
    width: 100%;
    height: 100%;
    display: flex;
}

.media-wrap-end {
    align-items: end;
    justify-content: end;
}

.media-wrap-start {
    align-items: start;
    justify-content: start;
}


.slider-slide img,
.slider-slide video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

/* Landscape slides - use full width when possible */
.slider-slide.landscape .media-wrap img,
.slider-slide.landscape .media-wrap video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

/* Portrait slides - center and show white borders (media-fit: contain) */
.slider-slide.portrait .media-wrap img,
.slider-slide.portrait .media-wrap video {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none; /* Hide slider controls */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-black);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.project-slider-container:hover .slider-controls {
    opacity: 1;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hide slider indicators */
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.project-info {
    padding: 1rem 0;
}

.project-info-end {
    text-align: right;
}

.project-info-start {
    text-align: left;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.project-info p {
    display: none; /* Hide project descriptions */
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-categories {
    display: none; /* Hide project categories */
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.category-tag {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: none; /* Hide category tags */
}

.view-project-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.view-project-btn:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--primary-white);
    font-size: 2rem;
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 9999;
}

.modal-close {
    top: 2rem;
    right: 2rem;
}

.modal-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.modal-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-white);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Performance optimizations */
.lazy-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Prevent layout shifts with fixed aspect ratios */
.project-item img,
.project-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    /* filter: grayscale(100%); */
    display: block;
}

/* Ensure slider media keep fixed-height behavior and are not stretched by generic rules */
.project-slider .slider-slide img,
.project-slider .slider-slide video,
.project-slider .slider-slide .media-wrap img,
.project-slider .slider-slide .media-wrap video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.project-item video {
    background: var(--primary-black);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Optimize transitions for better performance */
.project-item {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.project-item:hover {
    will-change: transform;
}

/* Reduce repaints during hover */
.project-item img,
.project-item video {
    will-change: filter, transform;
    backface-visibility: hidden;
}

/* Loading state improvements */
img[data-src],
video[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded,
video[data-src].loaded {
    opacity: 1;
}

/* Improve font loading */
body {
    font-display: swap;
}

/* Critical CSS for above-the-fold content */


/* Responsive Design */
@media (max-width: 1024px) {
    .project-item {
        gap: 2rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .slider-controls {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        width: 100vw;
        right: -100vw;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .home-view {
        padding: 0;
    }
    
    .projects-grid {
        gap: 0;
        padding: 0;
    }
    
    .project-item,
    .project-item:nth-child(even) {
        flex-direction: column;
        gap: 0;
    }

    .project-content {
        display: none;
    }
    
    .project-slider-container {
        width: 100%;
    }
    
    .project-slider {
        height: auto;
        touch-action: pan-y pinch-zoom;
    }
    
    .slider-controls {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    .project-info {
        padding: 0;
        text-align: center;
    }
    
    .project-info h3 {
        font-size: 1.4rem;
    }
    
    .project-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
    }
    
    .project-view {
        padding: 1rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #project-title {
        font-size: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-prev,
    .modal-next,
    .modal-close {
        font-size: 1.5rem;
        width: 3rem;
        height: 3rem;
    }
    
    .modal-prev {
        left: 1rem;
    }
    
    .modal-next {
        right: 1rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }
    
    .home-view {
        padding: 0;
    }
    
    .nav-content {
        padding: 1.5rem;
    }
    
    .project-view {
        padding: 0.75rem;
    }
    
    .project-description {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .modal-prev,
    .modal-next,
    .modal-close {
        font-size: 1.25rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .modal-prev {
        left: 0.75rem;
    }
    
    .modal-next {
        right: 0.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    /* outline: 2px solid #d5a4cd; */
    /* outline-offset: 2px; */
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* Video Support Styles */
.gallery-item video,
.project-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* .project-item video {
    filter: grayscale(100%);
} */

.gallery-item:hover video {
    transform: scale(1.05);
}

.video-overlay,
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    pointer-events: none;
    transition: var(--transition);
}

.video-overlay {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
}

.play-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.gallery-item:hover .video-overlay {
    opacity: 1;
}

#modal-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

.modal-content.video-mode #modal-image {
    display: none;
}

.modal-content.video-mode #modal-video {
    display: block;
}

/* Project View Styles */
.project-view {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.back-btn {
    background: none;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.project-description {
    background: var(--gray-100);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--primary-white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive Overlay Navigation */
@media (max-width: 768px) {
    .nav-link {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .overlay-close {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }
    
    .nav-footer {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    
    .nav-footer-left {
        gap: 1rem;
    }
    
    .nav-footer-link {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .overlay-content {
        padding: 1rem;
    }
}

/* Contact Page Styles - Brutalist */
.contact-page.brutalist {
    min-height: 100vh;
    padding: 0 40px 40px 120px;
    font-family: 'Anton', sans-serif;
    position: relative;
}

.contact-title {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 100px;
    padding: 40px 40px 40px 120px;
    color: rgb(213, 164, 205);
}

.contact-info-block {
    max-width: 1200px;
    /* margin: 0 auto 100px; */
}

.info-group {
    margin-bottom: 40px;
}

.info-label {
    font-size: 16px;
    margin-bottom: 10px;
    color: rgb(213, 164, 205);
}

.info-link {
    font-size: 20px;
    font-weight: 600;
    color: rgb(213, 164, 205);
    text-decoration: none;
    display: block;
}

.info-text {
    font-size: 20px;
    font-weight: 600;
}

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.location {
    font-size: 20px;
    font-weight: 600;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service {
    font-size: 20px;
    font-weight: 600;
}

.contact-footer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #000;
}

.social-links,
.legal-links {
    display: flex;
    gap: 40px;
}

.social-links a,
.legal-links a {
    color: #000;
    text-decoration: underline;
    font-size: 20px;
    font-weight: 500;
}

/* Responsive styles for brutalist contact page */
@media (max-width: 768px) {
    .contact-title {
        font-size: 80px;
        margin-bottom: 60px;
        padding: 20px 20px 20px 20px;
    }

    .contact-info-block {
        margin-bottom: 60px;
    }

    .contact-footer {
        flex-direction: column;
        gap: 20px;
    }

    .social-links,
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-page.brutalist{
        padding: 0 20px 20px 20px;
    }

    .contact-title {
        font-size: 60px;
        padding: 20px 20px 20px 20px;
    }
}

.service-item {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100px;
}

/* Responsive styles for brutalist contact page */
@media (max-width: 768px) {
    .contact-page.brutalist {
        padding: 100px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-block {
        padding: 30px;
    }

    .brutalist-link, 
    .brutalist-text {
        font-size: 20px;
    }

    .service-item {
        font-size: 18px;
        min-height: 80px;
    }
}

.contact-info h2,
.contact-form h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item ul li {
    margin-bottom: 8px;
    color: var(--text-color);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Contact Form Styles */
.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d5a4cd;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #c9a876;
    transform: translateY(-2px);
}

.submit-btn.success {
    background-color: #4CAF50;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2.5em;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links a {
        text-align: center;
    }
}
