/*=========================================================
    Tenerife Property Finder
    Version 1.0
    Author: ChatGPT
=========================================================*/

/*==========================
  GOOGLE FONTS
==========================*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');


/*==========================
  COLOUR PALETTE
==========================*/

:root{

    --navy:#0E2A47;
    --gold:#D4AF37;
    --gold-dark:#B88E28;

    --light:#F7F9FB;
    --grey:#E6ECF2;
    --text:#444;

    --white:#FFFFFF;

    --radius:16px;

    --shadow:0 15px 35px rgba(0,0,0,.08);

}


/*==========================
  RESET
==========================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    font-family:'Poppins',sans-serif;

    color:var(--text);

    background:#fff;

    line-height:1.7;

}


/*==========================
  TYPOGRAPHY
==========================*/

h1,h2,h3{

    font-family:'Playfair Display',serif;

    color:var(--navy);

    font-weight:600;

}

h1{

    font-size:64px;

    line-height:1.1;

    margin-bottom:30px;

}

h2{

    font-size:42px;

    text-align:center;

    margin-bottom:60px;

    position:relative;

}

h2::after{

    content:"";

    width:80px;

    height:4px;

    background:var(--gold);

    display:block;

    margin:20px auto 0;

    border-radius:5px;

}

h3{

    font-size:28px;

    margin-bottom:20px;

}

p{

    margin-bottom:20px;

    font-size:18px;

}


/*==========================
  CONTAINER
==========================*/

.container{

    width:min(1180px,90%);

    margin:auto;

}

.section{

    padding:110px 0;

}

.grey{

    background:var(--light);

}


/*==========================
  HEADER
==========================*/

header{

    position:absolute;

    width:100%;

    left:0;

    top:0;

    z-index:999;

    padding:30px 0;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    color:white;

    font-size:32px;

    font-family:'Playfair Display',serif;

    font-weight:700;

    letter-spacing:1px;

}

.logo span{

    color:var(--gold);

}


/*==========================
  NAVIGATION
==========================*/

nav{

    display:flex;

    gap:35px;

}

nav a{

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--gold);

}

nav a.active{

    color:var(--gold);
    font-weight: 600;

}


/*==========================
  HERO
==========================*/

.hero{

    position:relative;

    height:92vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    background:

    linear-gradient(rgba(10,30,50,.55),
                    rgba(10,30,50,.55)),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

}

.hero-content{

    max-width:850px;

    color:white;

    padding:20px;

    z-index:2;

}

.hero h1{

    color:white;

}

.hero p{

    color:white;

    font-size:22px;

    margin-bottom:45px;

}


/*==========================
  BUTTON
==========================*/

.button{

    display:inline-block;

    background:var(--gold);

    color:white;

    padding:18px 42px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.button:hover{

    background:var(--gold-dark);

    transform:translateY(-4px);

}


/*==========================
  ABOUT
==========================*/

.two-column{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.two-column img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}


/*==========================
  CARDS
==========================*/

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.card{

    background:white;

    padding:45px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

}


/*==========================
  TIMELINE
==========================*/

.timeline{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:25px;

    text-align:center;

}

.timeline div{

    background:white;

    padding:35px 20px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.timeline h3{

    width:60px;

    height:60px;

    border-radius:50%;

    background:var(--gold);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 20px;

}


/*==========================
  FREE SECTION
==========================*/

.free{

    background:var(--navy);

    color:white;

    text-align:center;

    padding:110px 0;

}

.free h2{

    color:white;

}

.free p{

    max-width:800px;

    margin:auto;

    font-size:20px;

}


/*==========================
  CTA
==========================*/

.cta{

    background:

    linear-gradient(rgba(0,0,0,.55),
                    rgba(0,0,0,.55)),

    url("../images/cta.jpg");

    background-size:cover;

    background-position:center;

    text-align:center;

    color:white;

    padding:140px 0;

}

.cta h2{

    color:white;

}

.cta p{

    font-size:22px;

    margin-bottom:45px;

}


/*==========================
  FOOTER
==========================*/

footer{

    background:var(--navy);

    color:white;

    padding:40px 0;

    text-align:center;

}


/*==========================
  MOBILE
==========================*/

@media(max-width:900px){

h1{

    font-size:44px;

}

h2{

    font-size:34px;

}

.two-column{

    grid-template-columns:1fr;

}

.cards{

    grid-template-columns:1fr;

}

.timeline{

    grid-template-columns:1fr;
}

nav{

    gap:18px;

}

}

@media (max-width:650px) {

    header {

        padding:20px 0;

    }

    header .container {

        display:flex;
        flex-direction:column;
        align-items:center;
        gap:15px;

    }

    .logo {

        font-size:24px;
        text-align:center;
        line-height:1.2;

    }

    nav {

        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px 20px;

    }

    nav a {

        font-size:15px;

    }

    .hero {

        height:90vh;

    }

    .hero-content {

        padding-top:120px;

    }

    h1 {

        font-size:40px;

    }

    .hero p {

        font-size:18px;

    }

    .button {

        padding:15px 28px;

    }

}


/*=========================================================
    FEES
=========================================================*/

.fees-grid{

    display:grid;
    grid-template-columns:1fr 260px 1fr;
    gap:50px;
    align-items:center;
    margin-top:60px;

}

.fees-column{

    background:#fff;
    padding:45px;
    border-radius:20px;
    box-shadow:var(--shadow);

}

.fees-column h3{

    text-align:center;
    margin-bottom:30px;

}

.tick-list,
.cross-list{

    list-style:none;
    padding:0;
    margin:0;

}

.tick-list li,
.cross-list li{

    padding:14px 0;
    border-bottom:1px solid #ececec;
    font-size:18px;

}

.tick-list li:last-child,
.cross-list li:last-child{

    border-bottom:none;

}

.tick-list li::before{

    content:"✓";
    color:#2e9b49;
    font-weight:bold;
    margin-right:12px;

}

.cross-list li::before{

    content:"✕";
    color:#c0392b;
    font-weight:bold;
    margin-right:12px;

}

.fees-badge{

    display:flex;
    justify-content:center;
    align-items:center;

}

.badge{

    width:220px;
    height:220px;
    border-radius:50%;
    background:var(--gold);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:25px;
    box-shadow:var(--shadow);

}

.badge span{

    font-size:18px;
    letter-spacing:1px;

}

.badge strong{

    font-size:58px;
    line-height:1;
    margin:12px 0;

}

.badge small{

    font-size:15px;
    line-height:1.4;

}

.fees-note{

    max-width:850px;
    margin:70px auto 0;
    text-align:center;
    font-size:20px;

}

@media(max-width:900px){

    .fees-grid{

        grid-template-columns:1fr;
        gap:35px;

    }

    .badge{

        width:180px;
        height:180px;

    }

    .badge strong{

        font-size:44px;

    }

}


/*=========================================================
    CONTACT PAGE
=========================================================*/

.page-banner{

    background:var(--navy);
    color:white;
    text-align:center;
    padding:140px 0 90px;

}

.page-banner h1{

    color:white;
    margin-bottom:25px;

}

.page-banner p{

    max-width:800px;
    margin:auto;
    color:white;

}

.contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;

}

.contact-card{

    background:white;
    padding:30px;
    margin-bottom:25px;
    border-radius:20px;
    box-shadow:var(--shadow);

}

.contact-card h3{

    margin-bottom:10px;

}

.contact-card a{

    color:var(--navy);
    text-decoration:none;

}

.contact-card a:hover{

    color:var(--gold);

}

.contact-form{

    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);

}

.contact-form label{

    display:block;
    font-weight:600;
    margin-bottom:20px;

}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:15px;
    margin-top:8px;
    border:1px solid #d9d9d9;
    border-radius:10px;
    font-family:inherit;
    font-size:16px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;
    border-color:var(--gold);

}

.contact-form button{

    border:none;
    cursor:pointer;

}

@media(max-width:900px){

.contact-grid{

    grid-template-columns:1fr;

}

}


@keyframes slideDown {

    from {

        transform: translateY(-100%);

    }

    to {

        transform: translateY(0);

    }

}


/*=========================================================
    BACK TO TOP BUTTON
=========================================================*/

.back-to-top {

    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: var(--gold);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 22px;

    box-shadow: 0 8px 20px rgba(0,0,0,.25);

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all .3s ease;

    z-index: 999;

}

.back-to-top.show {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}

.back-to-top:hover {

    background: var(--navy);

}

/*=========================================================
    PROCESS
=========================================================*/

.process{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    margin-top:60px;
    flex-wrap:nowrap;

}

.process-step{

    flex:1;
    text-align:center;
    position:relative;

}

.step-number{

    width:34px;
    height:34px;

    margin:0 auto 18px;

    border-radius:50%;

    background:var(--gold);

    color:#fff;

    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:16px;

}

.step-icon{

    width:82px;
    height:82px;

    margin:0 auto 25px;

    border-radius:50%;

    background:var(--navy);

    color:#fff;

    font-size:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 12px 25px rgba(0,0,0,.15);

}

.process-step h3{

    font-size:20px;
    color:var(--navy);
    margin-bottom:15px;
    line-height:1.3;

}

.process-step p{

    font-size:16px;
    line-height:1.6;
    color:#666;

}

.process-arrow{

    font-size:34px;
    color:#bdbdbd;
    margin-top:82px;
    flex:0 0 auto;

}

@media (max-width:1000px){

    .process{

        flex-wrap:wrap;
        justify-content:center;
        gap:40px;

    }

    .process-arrow{

        display:none;

    }

    .process-step{

        flex:0 0 calc(50% - 20px);

    }

}

@media (max-width:650px){

    .process-step{

        flex:0 0 100%;

    }

    .step-icon{

        width:70px;
        height:70px;
        font-size:32px;

    }

}

/*=========================================================
    WHATSAPP BUTTON
=========================================================*/

.whatsapp-button{

    position:fixed;

    left:30px;
    bottom:30px;

    width:60px;
    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s;

    z-index:999;

}

.whatsapp-button svg{

    width:32px;
    height:32px;

}

.whatsapp-button:hover{

    transform:translateY(-4px) scale(1.05);

    background:#1ebe5d;

}

@media(max-width:650px){

    .whatsapp-button{

        left:20px;
        bottom:20px;

        width:56px;
        height:56px;

    }

}

.whatsapp-button{

    animation:whatsPulse 3s infinite;

}

@keyframes whatsPulse{

    0%,100%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.08);

    }

}


/*=========================================================
    CONTACT ACTION ICONS
=========================================================*/

.contact-action{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:44px;
    height:44px;

    margin-right:12px;

    border-radius:50%;

    color:#fff;
    text-decoration:none;

    transition:transform .3s;

    animation:pulse 3s infinite;

    flex-shrink:0;

}

.contact-action:hover{

    transform:scale(1.1);

}

.contact-action svg{

    width:24px;
    height:24px;

    display:block;

}

.whatsapp-action{

    background:#25D366;

}

.whatsapp-action:hover{

    background:#1EBE5D;

}

.email-action{

    background:var(--gold);

}

.email-action:hover{

    background:var(--navy);

}

@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(0,0,0,.25);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0,0,0,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,0,0,0);
    }

}
