/* 
  Soft Brow Atelier - Stylesheet 
  Premium vanilla CSS styling.
*/

:root {
    /* Brand Colors extracted from Logo */
    --clr-brown-dark: #3E1B15;
    --clr-brown-light: #52271c;
    --clr-gold: #cfaa7e;
    --clr-gold-light: #e6cba5;
    
    /* Neutral Colors */
    --clr-bg-light: #fdfaf6;
    --clr-bg-sand: #f8f1e7;
    --clr-text: #2c2c2c;
    --clr-text-light: #666666;
    --clr-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 12px rgba(62, 27, 21, 0.05);
    --shadow-md: 0 10px 30px rgba(62, 27, 21, 0.1);
    --shadow-lg: 0 20px 40px rgba(62, 27, 21, 0.15);
    --transition: all 0.3s ease-in-out;
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--clr-brown-dark);
    font-weight: 500;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
    font-size: 1.05rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

strong {
    color: var(--clr-brown-dark);
    font-weight: 700;
}

.mt-4 { margin-top: 2rem; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-spacing {
    padding: 6rem 0;
}

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

.align-center {
    align-items: center;
}

.bg-sand {
    background-color: var(--clr-bg-sand);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--clr-gold);
}

.rounded-img {
    border-radius: 12px;
    overflow: hidden;
}

.shadow {
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.shadow:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--clr-brown-dark);
    color: var(--clr-gold-light);
    border: 1px solid var(--clr-brown-dark);
}

.btn-primary:hover {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border-color: var(--clr-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-brown-dark);
    border: 1px solid var(--clr-brown-dark);
}

.btn-secondary:hover {
    background-color: var(--clr-brown-light);
    color: var(--clr-gold-light);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--clr-brown-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--clr-gold);
    transition: var(--transition);
}

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

.nav-btn {
    padding: 0.6rem 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-brown-dark);
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    padding-right: 1.2rem;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%228%22%20viewBox%3D%220%200%2014%208%22%3E%3Cpath%20fill%3D%22%233E1B15%22%20d%3D%22M7%208L0%201.127%201.161%200%207%205.746%2012.839%200%2014%201.127z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

.lang-select:focus {
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--clr-brown-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--clr-bg-light);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    z-index: 999;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--clr-brown-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    font-size: 2.5rem;
    color: var(--clr-gold);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 80%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px 100px 20px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.decorative-blob {
    position: absolute;
    top: -5%;
    right: -10%;
    width: 80%;
    height: 110%;
    background-color: var(--clr-gold-light);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.5;
    animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--clr-brown-dark);
}

.benefits-list .icon {
    font-size: 1.5rem;
}

.portrait-img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Section */
.contact {
    background-color: var(--clr-brown-dark);
    color: var(--clr-white);
}

.contact .section-title {
    color: var(--clr-gold-light);
}

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

.contact p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-container {
    max-width: 800px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

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

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

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

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

.contact .btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-brown-dark);
    border-color: var(--clr-gold);
}

.contact .btn-primary:hover {
    background-color: var(--clr-white);
    color: var(--clr-brown-dark);
}

/* Footer */
.footer {
    background-color: #27100B;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.footer-logo {
    height: 60px;
    margin: 0 auto 2rem;
    filter: brightness(0) invert(1) opacity(0.8);
}

.footer .small-text {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: var(--transition-slow); }
.fade-in { opacity: 0; transition: var(--transition-slow); }
.fade-right { opacity: 0; transform: translateX(-30px); transition: var(--transition-slow); }
.fade-left { opacity: 0; transform: translateX(30px); transition: var(--transition-slow); }

.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-title span { font-size: 2rem; }
    .grid-2 { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .header-actions .nav-btn { display: none; }
    .hamburger { display: flex; }
    
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-image-wrapper { height: 400px; margin-top: 3rem; }
    
    .reverse-mobile .image-wrapper { order: -1; }
    
    .contact-card { padding: 2rem; }
}
