/* Style principal - La Cristallerie */

/* Variables */
:root {
    --color-dark: #1E1E1E;
    --color-light: #F5F5F5;
    --color-accent: #E8833B; /* Orange accent */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-grey: #888888;
    --color-light-grey: #E5E5E5;
    --color-dark-grey: #333333;
    --color-footer: #1A1A1A;
    --font-primary: 'Tan Pearl', serif;
    --font-secondary: 'Inter Tight', sans-serif;
}

/* Base */
body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: normal;
    margin-bottom: 20px;
}

h1 {
    font-size: 120px;
    line-height: 1;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 72px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

p {
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 25px;
}

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

.gradient-btn {
    background: linear-gradient(to right, #E8833B, #D9A45B);
    border: none;
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(232, 131, 59, 0.3);
}

.gradient-btn:hover {
    opacity: 0.95;
    background: linear-gradient(to right, #D9A45B, #E8833B);
    color: var(--color-white);
    box-shadow: 0 2px 15px rgba(232, 131, 59, 0.4);
}

.btn-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-round img {
    width: 24px;
    height: 24px;
}

.btn-round:hover {
    transform: scale(1.1);
}

/* Cursor personnalisé */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-accent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    background-color: transparent;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    /* Ajout d'une largeur minimale pour s'assurer que le header couvre toute la largeur */
    min-width: 100%;
}

header.scrolled {
    background-color: rgba(11, 32, 38, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    border-bottom: 1px solid rgba(214, 160, 94, 0.2);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-48%); /* Ajusté pour compenser le décalage visuel */
    z-index: 10;
}

.logo img {
    height: 65px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone a {
    color: var(--color-white);
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-white);
    border-radius: 30px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.phone a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 0;
}

.menu-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    gap: 8px;
}

.menu-circle span {
    display: block;
    width: 18px;
    height: 1px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-circle span:nth-child(2) {
    width: 18px;
}

/* Animation du menu burger */
.menu-toggle.active .menu-circle span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active .menu-circle span:nth-child(2) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.menu-toggle .menu-text {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-left: 5px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.main-nav.active {
    transform: translateX(0);
}

.nav-container {
    padding: 40px 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    padding-top: 20px;
}

.nav-header .logo img {
    height: 50px;
    width: auto;
}

.close-nav {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
}

.close-nav span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 50%;
}

.close-nav span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-nav span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.nav-menu li a {
    font-family: var(--font-primary);
    font-size: 48px;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.nav-menu li a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 40px;
    margin-top: -40px;
}

.location {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: var(--color-white);
}

.main-title {
    margin-bottom: 30px;
}

.main-title img {
    max-width: 600px;
    height: auto;
}

.tagline {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
}

.hero-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
}

.signature {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.weather {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 500;
}

/* Sections communes */
section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section h2 {
    text-align: center;
    margin-bottom: 80px;
    color: var(--color-dark);
}

.section-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    max-width: 500px;
}

.intro-text {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.4;
}

.image-grid {
    flex: 1;
    display: flex;
    gap: 20px;
    position: relative;
}

.image-container {
    overflow: hidden;
    border-radius: 4px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.main-image {
    width: 60%;
}

.secondary-image {
    width: 40%;
    align-self: flex-end;
}

.btn-container {
    margin-top: 40px;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
}

/* Section Transformation */
.transformation {
    background-color: #f5f2e4; /* Fond beige clair */
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    color: #0b2026; /* Couleur texte foncée */
}

.transformation::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url('../images/homepage/illu_bg_right.png');
    background-size: contain;
    background-repeat: repeat-y;
    background-position: right top;
    opacity: 0.1;
    z-index: 0;
}

@media (max-width: 768px) {
    .transformation::after {
        opacity: 0.15;
    }
}

.signature-top {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-white);
    font-family: var(--font-secondary);
    text-transform: uppercase;
}

.transformation .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.transformation h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    text-transform: uppercase;
}

.transformation h2 .line1 {
    font-size: 76px;
}

.transformation h2 .line2 {
    font-size: 160px;
}

.transformation h2 .line3 {
    font-size: 76px;
    margin-top: 10px;
}

.transformation .section-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.transformation .image-container {
    flex: 1;
    position: relative;
}

.transformation .main-image {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.transformation .decorative-element {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: url('../images/homepage/decorative-corner.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.transformation .text-content {
    flex: 1;
    max-width: 500px;
}

.transformation .text-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-white);
}

.transformation .text-content strong {
    color: var(--color-white);
    font-weight: 600;
}

.transformation .btn-round-text span {
    color: var(--color-white);
}

.transformation .btn-circle {
    background-color: var(--color-accent);
}

.btn-round-text {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-round-text span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: inherit;
    text-transform: uppercase;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-circle img {
    width: 16px;
    height: 16px;
}

.btn-round-text:hover .btn-circle {
    transform: scale(1.1);
}

/* Section Confort Unique */
.confort-unique {
    background-image: url('../images/perspectives/rendu_texturé_terrasse_gris_champagne_métallique.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.confort-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.confort-unique .container {
    position: relative;
    z-index: 2;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.diamond-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1;
}

.logo-title {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-white);
}

.confort-unique h2 {
    font-size: 160px;
    line-height: 1;
    margin-bottom: 60px;
    color: var(--color-white);
    letter-spacing: 0.02em;
    font-weight: 300;
    text-transform: uppercase;
}

.confort-unique .btn-round-text span {
    color: var(--color-white);
}

.confort-unique .btn-circle {
    background-color: var(--color-white);
}

.confort-unique .btn-circle img {
    width: 20px;
    height: 20px;
}

/* Section Sèvres */
.sevres {
    background-color: var(--color-light);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.sevres::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 400px;
    background-image: url('../images/homepage/img_lettre_bg_3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.1;
    z-index: 0;
}

.leaf-decoration {
    position: absolute;
    bottom: 200px;
    left: 50px;
    width: 150px;
    height: 150px;
    z-index: 1;
}

.sevres .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.sevres h2 {
    font-family: var(--font-primary);
    font-weight: normal;
    letter-spacing: 0.02em;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.sevres h2 .line1 {
    font-size: 72px;
}

.sevres h2 .line2 {
    font-size: 72px;
}

.sevres h2 .line3 {
    font-size: 72px;
    margin-top: 10px;
}

.sevres .section-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.sevres .btn-round-text span {
    color: var(--color-dark);
}

.sevres .btn-circle {
    background-color: var(--color-accent);
}

.sevres .btn-circle img {
    width: 20px;
    height: 20px;
}

.sevres .main-image {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    max-width: 50%;
}

.sevres .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sevres .text-content {
    flex: 1;
    max-width: 50%;
}

.sevres .text-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.sevres .secondary-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.sevres .secondary-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Section Disponibilités */
.disponibilites {
    background: linear-gradient(135deg, #E8C38D 0%, #D4A76A 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.disponibilites::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/homepage/img_lettre_bg_2_alt.svg');
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.1;
    z-index: 0;
}

.disponibilites .container {
    position: relative;
    z-index: 1;
}

.disponibilites h2 {
    font-family: var(--font-primary);
    font-size: 80px;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 60px;
    letter-spacing: 0.02em;
    font-weight: 300;
    text-transform: uppercase;
}

.disponibilites .btn-round-text span {
    color: var(--color-dark);
}

.disponibilites .btn-circle {
    background-color: var(--color-dark);
}

.disponibilites .btn-circle img {
    width: 20px;
    height: 20px;
}

:root {
    --color-dark-green: #003333;
}

.rehabilitation {
    padding: 120px 0;
    background-color: var(--color-white);
    position: relative;
}

.quote-section {
    position: relative;
    margin-bottom: 60px;
}

.quote-mark {
    position: absolute;
    left: -40px;
    top: -30px;
    font-family: var(--font-primary);
    font-size: 120px;
    color: var(--color-dark);
    opacity: 0.2;
}

.rehabilitation h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-transform: none;
    text-align: left;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--color-dark);
}

.rehabilitation .section-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.rehabilitation .text-content {
    flex: 1;
    max-width: 450px;
}

.rehabilitation .images-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rehabilitation .main-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
}

.rehabilitation .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehabilitation .small-images {
    display: flex;
    gap: 20px;
}

.rehabilitation .round-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.rehabilitation .round-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehabilitation .small-image {
    flex: 1;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
}

.rehabilitation .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehabilitation .text-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rehabilitation .btn-round-text span {
    color: var(--color-dark);
}

.rehabilitation .btn-circle {
    background-color: var(--color-accent);
}

.rehabilitation .images-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rehabilitation .main-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.rehabilitation .main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rehabilitation .small-images {
    display: flex;
    gap: 20px;
    margin-top: -40px;
}

.rehabilitation .round-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-dark-green);
}

.rehabilitation .round-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehabilitation .small-image {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
}

.rehabilitation .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Appartements */
.appartements {
    background-color: var(--color-light-grey);
    position: relative;
}

.appartements::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-image: url('../images/homepage/img_lettre_bg_2_alt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Section Environnement */
.environnement {
    background-color: var(--color-white);
    position: relative;
}

.environnement::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 350px;
    height: 350px;
    background-image: url('../images/homepage/img_lettre_bg_3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Section Acteurs */
.acteurs {
    background-color: var(--color-light-grey);
    position: relative;
}

.acteurs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 300px;
    height: 300px;
    background-image: url('../images/homepage/img_illu_architecture.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

/* Section Disponibilités */
.disponibilites {
    background-color: var(--color-white);
}

.table-container {
    overflow-x: auto;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

#apartments-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

#apartments-table th, 
#apartments-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

#apartments-table th {
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

#apartments-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

#apartments-table tr:hover {
    background-color: rgba(232, 131, 59, 0.05);
}

#apartments-table td:last-child {
    text-align: right;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: none;
    cursor: pointer;
}

.btn-details img {
    width: 16px;
    height: 16px;
}

/* Section Contact */
.contact {
    background-color: var(--color-light-grey);
    position: relative;
}

.contact-content {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p {
    line-height: 1.8;
}

.info-block a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: var(--color-dark);
}

.contact-form-container {
    flex: 1;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group button {
    width: 100%;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-dark);
    padding: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Footer */
footer {
    background-color: var(--color-footer);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    gap: 30px;
}

.footer-links li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.6;
}

/* Styles pour la modal des appartements */
.apartment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 0;
}

.apartment-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close-modal span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-dark);
    position: absolute;
}

.close-modal span:first-child {
    transform: rotate(45deg);
}

.close-modal span:last-child {
    transform: rotate(-45deg);
}

.apartment-modal h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.apartment-details {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.apartment-info {
    flex: 1;
}

.apartment-info p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.apartment-description {
    flex: 2;
}

.apartment-description p {
    font-size: 16px;
    line-height: 1.8;
}

.apartment-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.apartment-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.apartment-images img:hover {
    transform: scale(1.05);
}

.apartment-actions {
    text-align: center;
    margin-top: 30px;
}

/* Status classes */
.status-available {
    border-left: 4px solid #4CAF50;
}

.status-reserved {
    border-left: 4px solid #FFC107;
}

.status-sold {
    border-left: 4px solid #F44336;
}
