/* H&W Bausicher GmbH - Custom Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --gold: #c5a059;
    --black: #1a1a1a;
    --soft-white: #ffffff;
    --gray-bg: #fcfcfc;
    --border-color: #e4e4e7;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(197, 160, 89, 0.03) 1px, transparent 0);
    background-size: 60px 60px;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f9f9f9;
}

::-webkit-scrollbar-thumb {
    background: #c5a059;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a;
}

/* Grain Overlay Effect */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Premium Styling and Accent lines */
.gold-tag {
    color: #c5a059;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 1rem;
}

.gold-line {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Portfolio Layout Card */
.portfolio-card {
    position: relative;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.project-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    box-shadow: 20px 20px 0px #f9f9f9;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

.city-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: rgba(26, 26, 26, 0.9);
    color: #c5a059;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.project-info {
    margin-top: -30px;
    margin-left: 30px;
    margin-right: 20px;
    background-color: #ffffff;
    padding: 25px;
    position: relative;
    z-index: 10;
    border-left: 3px solid #c5a059;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
}

.project-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.project-accent {
    width: 40px;
    height: 2px;
    background-color: #c5a059;
    margin-top: 1rem;
}

/* Section: Philosophy */
.expertise-visual {
    position: relative;
    padding: 6rem 1.5rem;
    background-color: #ffffff;
}

.exp-image-box {
    width: 100%;
    height: 450px;
    border-radius: 4px;
    position: relative;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1200') center/cover no-repeat;
}

.exp-content-overlay {
    position: absolute;
    bottom: 2.5rem;
    right: 0.625rem;
    left: 2.5rem;
    background-color: #111111;
    color: #ffffff;
    padding: 40px 30px;
    z-index: 10;
    box-shadow: 20px 20px 0px #c5a059;
}

.exp-content-overlay h6 { 
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
    font-size: 0.7rem;
    font-weight: 900;
}

.exp-content-overlay h2 { 
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.exp-content-overlay p { 
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 300;
    margin: 0;
}

/* Contact Modern */
.contact-modern {
    padding: 6rem 1.5rem;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    text-decoration: none;
    color: #111111;
    transition: transform 0.3s ease;
}

.contact-icon-box {
    width: 75px;
    height: 75px;
    border: 1px solid #e4e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c5a059;
    margin-bottom: 20px;
    border-radius: 1rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
}

.contact-item:hover .contact-icon-box {
    background-color: #c5a059;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
}

.contact-item label { 
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 700;
    cursor: pointer;
}

.contact-item span { 
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Action button at bottom */
.cta-container { 
    padding: 0 1.5rem 6rem 1.5rem;
    background-color: #f9f9f9;
}

.btn-gold-action {
    width: 100%;
    padding: 22px;
    background-color: #c5a059;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
    transition: all 0.2s ease;
}

.btn-gold-action:hover {
    background-color: #b08c48;
}

.btn-gold-action:active {
    transform: scale(0.98);
}

/* Service / Features Cards */
.modern-card {
    background-color: #ffffff;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid #e4e4e7;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.modern-card.gold-border {
    border-left-color: #c5a059;
}

.modern-card:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.highlights-span {
    font-size: 0.7rem;
    background-color: #fcfcfc;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    color: #52525b;
    border: 1px solid #e4e4e7;
    font-weight: 700;
}

/* Animations and reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* No horizontal scroll on mobile */
body, html {
    max-width: 100vw;
    overflow-x: hidden;
}
